{"action":"created","issue":{"url":"https://api.github.com/repos/scniro/react-codemirror2/issues/32","repository_url":"https://api.github.com/repos/scniro/react-codemirror2","labels_url":"https://api.github.com/repos/scniro/react-codemirror2/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/scniro/react-codemirror2/issues/32/comments","events_url":"https://api.github.com/repos/scniro/react-codemirror2/issues/32/events","html_url":"https://github.com/scniro/react-codemirror2/issues/32","id":271297633,"number":32,"title":"Mobile browser error: Cannot read property 'setOption' of undefined","user":{"login":"cephirothdy2j","id":881769,"avatar_url":"https://avatars3.githubusercontent.com/u/881769?v=4","gravatar_id":"","url":"https://api.github.com/users/cephirothdy2j","html_url":"https://github.com/cephirothdy2j","followers_url":"https://api.github.com/users/cephirothdy2j/followers","following_url":"https://api.github.com/users/cephirothdy2j/following{/other_user}","gists_url":"https://api.github.com/users/cephirothdy2j/gists{/gist_id}","starred_url":"https://api.github.com/users/cephirothdy2j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cephirothdy2j/subscriptions","organizations_url":"https://api.github.com/users/cephirothdy2j/orgs","repos_url":"https://api.github.com/users/cephirothdy2j/repos","events_url":"https://api.github.com/users/cephirothdy2j/events{/privacy}","received_events_url":"https://api.github.com/users/cephirothdy2j/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-05T17:25:36Z","updated_at":"2017-11-06T00:19:25Z","closed_at":"2017-11-06T00:19:25Z","author_association":"NONE","body":"We're getting an error thrown in Chrome for Android 7 and MS Edge Mobile:\r\n\r\n```\r\nTypeError: Cannot read property 'setOption' of undefined\r\n```\r\n\r\nLooks like it's being thrown [here](https://github.com/scniro/react-codemirror2/blob/master/src/index.tsx#L296).\r\n\r\nPer [Codemirror's browser support page](http://codemirror.net/#browsersupport), mobile browser support is experimental. We can catch the mobile browsers in our application and render a textarea instead, but I thought maybe this error was introduced by recent changes made to your library since we never saw the issue prior to our release a couple days ago.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/scniro/react-codemirror2/issues/comments/342018171","html_url":"https://github.com/scniro/react-codemirror2/issues/32#issuecomment-342018171","issue_url":"https://api.github.com/repos/scniro/react-codemirror2/issues/32","id":342018171,"user":{"login":"scniro","id":13826518,"avatar_url":"https://avatars0.githubusercontent.com/u/13826518?v=4","gravatar_id":"","url":"https://api.github.com/users/scniro","html_url":"https://github.com/scniro","followers_url":"https://api.github.com/users/scniro/followers","following_url":"https://api.github.com/users/scniro/following{/other_user}","gists_url":"https://api.github.com/users/scniro/gists{/gist_id}","starred_url":"https://api.github.com/users/scniro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scniro/subscriptions","organizations_url":"https://api.github.com/users/scniro/orgs","repos_url":"https://api.github.com/users/scniro/repos","events_url":"https://api.github.com/users/scniro/events{/privacy}","received_events_url":"https://api.github.com/users/scniro/received_events","type":"User","site_admin":false},"created_at":"2017-11-06T00:19:25Z","updated_at":"2017-11-06T00:19:25Z","author_association":"OWNER","body":"No worries! I'm glad this was easy for you to get back up and running 😄 "}}
{"actor":{"display_login":"scniro"}}