RFR: 8322748: Caret blinking in JavaFX should only stop when caret moves

Andy Goryachev angorya at openjdk.org
Wed Feb 14 23:53:13 UTC 2024


On Wed, 14 Feb 2024 22:44:07 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Move caret animation handling due to keyboard input to the Skin, by registering a listener on the caretPosition property.  This will restart animation only when the caret position changes instead of every key press.
> 
> This also simplifies internal behaviors of TextArea, TextField, and PasswordField in light of the future InputMap RFE [JDK-8314968](https://bugs.openjdk.org/browse/JDK-8314968)

@hjohn would you like to review this change?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1368#issuecomment-1945057755


More information about the openjfx-dev mailing list