Skip to content

Conversation

@hinerm
Copy link
Member

@hinerm hinerm commented Apr 30, 2015

This (mostly) ensures the text of a JSpinner is selected on focus. On OSX it
seems to always work with tabs, and mostly work with mouse clicking. However
there does seem to be a race condition where the text selection can be lost,
presumably from the JSPinner firing a validation event after the text field's
selection has been processed.

See #12 for future work.

@hinerm
Copy link
Member Author

hinerm commented Apr 30, 2015

@ctrueden is this OK..? 🐙

This (mostly) ensures the text of a JSpinner is selected on focus. On OSX it
seems to always work with tabs, and mostly work with mouse clicking. However
there does seem to be a race condition where the text selection can be lost,
presumably from the JSPinner firing a validation event after the text field's
selection has been processed.

See #12 for future work.
@hinerm hinerm force-pushed the select-jspinner-text branch from 3d3b555 to ff1fa86 Compare April 30, 2015 18:17
@hinerm hinerm merged commit ff1fa86 into master Apr 30, 2015
@hinerm hinerm deleted the select-jspinner-text branch April 30, 2015 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants