{"action":"created","issue":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3768","labels_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3768/labels{/name}","comments_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3768/comments","events_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3768/events","html_url":"https://github.com/codemirror/CodeMirror/issues/3768","id":126850855,"number":3768,"title":"First page-wide horizontal scroll freezes for 1 second on windows","user":{"login":"captainbrosset","id":1152698,"avatar_url":"https://avatars.githubusercontent.com/u/1152698?v=3","gravatar_id":"","url":"https://api.github.com/users/captainbrosset","html_url":"https://github.com/captainbrosset","followers_url":"https://api.github.com/users/captainbrosset/followers","following_url":"https://api.github.com/users/captainbrosset/following{/other_user}","gists_url":"https://api.github.com/users/captainbrosset/gists{/gist_id}","starred_url":"https://api.github.com/users/captainbrosset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captainbrosset/subscriptions","organizations_url":"https://api.github.com/users/captainbrosset/orgs","repos_url":"https://api.github.com/users/captainbrosset/repos","events_url":"https://api.github.com/users/captainbrosset/events{/privacy}","received_events_url":"https://api.github.com/users/captainbrosset/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-15T10:55:34Z","updated_at":"2016-01-29T23:19:43Z","closed_at":null,"body":"This is sort of an edge case.\r\n\r\nPre-requirements:\r\n- windows 10\r\n- in settings/mouse & touchpad: configure the scroll to go \"one screen at a time\"\r\n- Firefox\r\n\r\nSteps:\r\n- load http://jsbin.com/xebayonezi/edit?js (which uses codemirror, and in which I've added a long source file)\r\n- wait for it to be loaded\r\n- scroll *just once*, as in, rotate the mouse wheel just one tick\r\n\r\nExpectations: the source file scrolls smoothly to the next page\r\nActual: the very first scroll sorts of freezes for 1 second or so and then the next page is displayed. Subsequent scrolls are fine.\r\n\r\nIt looks like there's some kind of lazy initialization that codemirror does right then that prevents the browser from rendering."},"comment":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/comments/177014021","html_url":"https://github.com/codemirror/CodeMirror/issues/3768#issuecomment-177014021","issue_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3768","id":177014021,"user":{"login":"arni2033","id":9205283,"avatar_url":"https://avatars.githubusercontent.com/u/9205283?v=3","gravatar_id":"","url":"https://api.github.com/users/arni2033","html_url":"https://github.com/arni2033","followers_url":"https://api.github.com/users/arni2033/followers","following_url":"https://api.github.com/users/arni2033/following{/other_user}","gists_url":"https://api.github.com/users/arni2033/gists{/gist_id}","starred_url":"https://api.github.com/users/arni2033/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arni2033/subscriptions","organizations_url":"https://api.github.com/users/arni2033/orgs","repos_url":"https://api.github.com/users/arni2033/repos","events_url":"https://api.github.com/users/arni2033/events{/privacy}","received_events_url":"https://api.github.com/users/arni2033/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T23:19:43Z","updated_at":"2016-01-29T23:19:43Z","body":"Hello, marijnh!\r\nI already did that in https://bugzilla.mozilla.org/show_bug.cgi?id=1239534#c2\r\nThis is not edge case of any kind. This is my default install, and I have this issue for 2+ years on Firefox. I think it's more firefox developers' fault than yours, because (A) they should've tested codeMirror better (B) they spread bad tutorials on handling mouse scroll, which caused many bugs."}}