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

Text fields placing cursor at end of line #227

Closed
Lambdanaut opened this Issue Apr 25, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@Lambdanaut

Lambdanaut commented Apr 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 30 signal 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.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

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.

Member

evancz commented May 11, 2016

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.

@evancz evancz closed this May 11, 2016

@Lambdanaut

This comment has been minimized.

Show comment
Hide comment
@Lambdanaut

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 :)
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

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