{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/html/issues/52","repository_url":"https://api.github.com/repos/elm-lang/html","labels_url":"https://api.github.com/repos/elm-lang/html/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/html/issues/52/comments","events_url":"https://api.github.com/repos/elm-lang/html/issues/52/events","html_url":"https://github.com/elm-lang/html/issues/52","id":164728739,"number":52,"title":"textarea not working correctly in IE (but well in Chrome)","user":{"login":"pcarbonn","id":440681,"avatar_url":"https://avatars.githubusercontent.com/u/440681?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarbonn","html_url":"https://github.com/pcarbonn","followers_url":"https://api.github.com/users/pcarbonn/followers","following_url":"https://api.github.com/users/pcarbonn/following{/other_user}","gists_url":"https://api.github.com/users/pcarbonn/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarbonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarbonn/subscriptions","organizations_url":"https://api.github.com/users/pcarbonn/orgs","repos_url":"https://api.github.com/users/pcarbonn/repos","events_url":"https://api.github.com/users/pcarbonn/events{/privacy}","received_events_url":"https://api.github.com/users/pcarbonn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-10T18:53:06Z","updated_at":"2016-07-13T12:54:34Z","closed_at":"2016-07-13T02:26:31Z","body":"When I type letters in the textarea after the word \"Hello\", the first one is well positionned, but the latter ones are added at the end of the textarea in Internet Explorer 11. \r\n\r\nThe same program works ok in Chrome though.  Here it is:\r\n\r\n    import Html exposing (..)\r\n    import Html.App as Html\r\n    import Html.Events exposing (..)\r\n\r\n    type alias Model = { textString : String }\r\n\r\n    type Msg = SaveText String\r\n\r\n    main = Html.beginnerProgram { model = (Model \"Hello world\"), view = view, update = update }\r\n\r\n    update msg model =\r\n      case msg of \r\n         SaveText txt -> Model txt\r\n\r\n    view model =\r\n      textarea \r\n        [ onInput SaveText ] \r\n      [text model.textString]\r\n\r\nYou can try it using [Try Elm](http://elm-lang.org/try) v0.17.  Somehow, the caret is moved to the end of the textarea. Why ?"},"comment":{"url":"https://api.github.com/repos/elm-lang/html/issues/comments/232345859","html_url":"https://github.com/elm-lang/html/issues/52#issuecomment-232345859","issue_url":"https://api.github.com/repos/elm-lang/html/issues/52","id":232345859,"user":{"login":"pcarbonn","id":440681,"avatar_url":"https://avatars.githubusercontent.com/u/440681?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarbonn","html_url":"https://github.com/pcarbonn","followers_url":"https://api.github.com/users/pcarbonn/followers","following_url":"https://api.github.com/users/pcarbonn/following{/other_user}","gists_url":"https://api.github.com/users/pcarbonn/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarbonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarbonn/subscriptions","organizations_url":"https://api.github.com/users/pcarbonn/orgs","repos_url":"https://api.github.com/users/pcarbonn/repos","events_url":"https://api.github.com/users/pcarbonn/events{/privacy}","received_events_url":"https://api.github.com/users/pcarbonn/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T12:54:34Z","updated_at":"2016-07-13T12:54:34Z","body":"Indeed, using the `value` attribute improves the situation, but the problem does occur nevertheless, albeit with a lower frequency.  It does appear sometimes on Chrome too, by the way.  As you say, it most likely has to do with the interaction with the browser, and it sure looks like a bug of elm-lang/html to me.\r\n\r\nSo, I think it is premature to close the issue.  I'll try to get some hints from Slack anyway."}}
{"actor":{"display_login":"pcarbonn"}}