Simultaneously update text area while typing in text field

前端 未结 4 495
无人及你
无人及你 2021-01-14 03:04

I want to update my text area along with typing in the text field but i get a delay of 1 keystroke while typing i.e when i press a key the previous key is displayed.Here is

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-14 03:51

    You should do that under the keyReleased event instead of the keyTyped and it will work as you need.

提交回复
热议问题