{"action":"created","issue":{"url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/14","labels_url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/14/comments","events_url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/14/events","html_url":"https://github.com/valrus/undertale-dialog-generator/issues/14","id":123323834,"number":14,"title":"Text box loses focus after every keypress on Windows Firefox","user":{"login":"valrus","id":343665,"avatar_url":"https://avatars.githubusercontent.com/u/343665?v=3","gravatar_id":"","url":"https://api.github.com/users/valrus","html_url":"https://github.com/valrus","followers_url":"https://api.github.com/users/valrus/followers","following_url":"https://api.github.com/users/valrus/following{/other_user}","gists_url":"https://api.github.com/users/valrus/gists{/gist_id}","starred_url":"https://api.github.com/users/valrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valrus/subscriptions","organizations_url":"https://api.github.com/users/valrus/orgs","repos_url":"https://api.github.com/users/valrus/repos","events_url":"https://api.github.com/users/valrus/events{/privacy}","received_events_url":"https://api.github.com/users/valrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T17:37:22Z","updated_at":"2015-12-21T21:36:34Z","closed_at":null,"body":"wow this is unbelievably frustrating?"},"comment":{"url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/comments/166431272","html_url":"https://github.com/valrus/undertale-dialog-generator/issues/14#issuecomment-166431272","issue_url":"https://api.github.com/repos/valrus/undertale-dialog-generator/issues/14","id":166431272,"user":{"login":"valrus","id":343665,"avatar_url":"https://avatars.githubusercontent.com/u/343665?v=3","gravatar_id":"","url":"https://api.github.com/users/valrus","html_url":"https://github.com/valrus","followers_url":"https://api.github.com/users/valrus/followers","following_url":"https://api.github.com/users/valrus/following{/other_user}","gists_url":"https://api.github.com/users/valrus/gists{/gist_id}","starred_url":"https://api.github.com/users/valrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valrus/subscriptions","organizations_url":"https://api.github.com/users/valrus/orgs","repos_url":"https://api.github.com/users/valrus/repos","events_url":"https://api.github.com/users/valrus/events{/privacy}","received_events_url":"https://api.github.com/users/valrus/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T21:36:34Z","updated_at":"2015-12-21T21:36:34Z","body":"It *seeeeeeems* as though this is because of re-rendering recreating the text box, which isn't great. Maybe `onInput` isn't the right approach here; we don't really need to update the model on each keystroke as long as we can get the text from the box when we send the request.\r\n\r\nA relevant Elm issue with a link to an also-relevant discussion thread: https://github.com/elm-lang/core/issues/3\r\nIt also appears this might be a problem with `Element` and using `Html` instead might fix it. I'm not sure I want to redo the whole dialog box using Html, but it doesn't really do anything fancy so it shouldn't be too hard. Since I have to send things to the server to make them crunchy anyway my original hope of just slapping everything in a `<canvas>` is dead in the water anyway."}}