New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cursor movement and selection events with Graphics.Input.Field #504

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@thebritican

thebritican commented Feb 19, 2016

Currently a Graphics.Input.Field does not update its Selection on events other than input.

The following will send a message whenever the input field's selection range changes or if the caret is moved via a click, keyup, or focus.

Issues

Many events are fired this way, and since we are mutating the field object with elm_old_* fields, a very fast typer will notice some jostling with the caret. Looking into this more soon and would love any input/help!

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 10, 2016

Member

Sorry for the slow reply. It has been busy times. The Graphics.Input.Field module did not make it into evancz/elm-graphics so there is nothing to fix anymore. It is recommended to use the elm-lang/html text fields now.

Member

evancz commented May 10, 2016

Sorry for the slow reply. It has been busy times. The Graphics.Input.Field module did not make it into evancz/elm-graphics so there is nothing to fix anymore. It is recommended to use the elm-lang/html text fields now.

@evancz evancz closed this May 10, 2016

@thebritican thebritican deleted the thebritican:thebritican/graphics-input-field-native-handle-selection-events branch May 11, 2016

@thebritican

This comment has been minimized.

Show comment
Hide comment
@thebritican

thebritican May 11, 2016

Glad to hear it!

thebritican commented May 11, 2016

Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment