Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upText fields placing cursor at end of line #227
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
May 11, 2016
Member
Sorry this did not get attention til now! The Graphics.* modules now live in evancz/elm-graphics so I am trying to get stuff migrated over there.
In this case though, the Graphics.Input libraries did not survive the transition, so this will be impossible to reproduce.
|
Sorry this did not get attention til now! The In this case though, the |
evancz
closed this
May 11, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lambdanaut
May 11, 2016
No prob. Glad to see elm changing! Love it :)
On May 10, 2016 9:22 PM, "Evan Czaplicki" notifications@github.com wrote:
Sorry this did not get attention til now! The Graphics.* modules now live
in evancz/elm-graphics so I am trying to get stuff migrated over there.In this case though, the Graphics.Input libraries did not survive the
transition, so this will be impossible to reproduce.—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/elm-lang/core/issues/227#issuecomment-218338096
Lambdanaut
commented
May 11, 2016
|
No prob. Glad to see elm changing! Love it :)
|
Lambdanaut commentedApr 25, 2015
Sometimes when the render function for a text field is called, it places the cursor at the end of the text.
The bug can be replicated in http://elm-lang.org/edit/examples/Intermediate/Form.elm
If you type "foobar" into one of the fields, then re-position the cursor to the front of the text and hold down the "a" key, the cursor will randomly be placed at the end of the text field after a few frames.
You can also replicate the bug by mapping a
Time.fps 30signal into a function that renders the text fields. The cursor will constantly be placed at the end of the highlighted field.I tested this in Google Chromium Version 39.0.2171.65 Ubuntu 14.10 (64-bit)
Strangely it won't replicate for me in my Windows 7 Google Chrome.