{"action":"opened","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3416","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3416/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3416/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3416/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/3416","id":119715935,"number":3416,"title":"[dropdown] [search] after arrow key down selected always jumps to first menu item","user":{"login":"fentas","id":405182,"avatar_url":"https://avatars.githubusercontent.com/u/405182?v=3","gravatar_id":"","url":"https://api.github.com/users/fentas","html_url":"https://github.com/fentas","followers_url":"https://api.github.com/users/fentas/followers","following_url":"https://api.github.com/users/fentas/following{/other_user}","gists_url":"https://api.github.com/users/fentas/gists{/gist_id}","starred_url":"https://api.github.com/users/fentas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fentas/subscriptions","organizations_url":"https://api.github.com/users/fentas/orgs","repos_url":"https://api.github.com/users/fentas/repos","events_url":"https://api.github.com/users/fentas/events{/privacy}","received_events_url":"https://api.github.com/users/fentas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T13:22:11Z","updated_at":"2015-12-01T13:22:11Z","closed_at":null,"body":"Hey,\r\nI have a dropdown with search. like this: http://jsfiddle.net/w82npm38/\r\nThe thing is that i can't really reproduce the error within jsfiddle.\r\n\r\nIf I use e.g. arrow key down it selects for a short time the next element and then jumps to the first again.\r\nThis is because `event.input` is triggered. (which is not in the jsfiddle example)\r\n... resolving in `filter(query)` and then selecting first item.\r\n\r\nAfter some comparing debugging between my site and jsfiddle I found the difference within\r\n```js\r\ninputEvent: function() {\r\n            var\r\n              input = $search[0]\r\n            ;\r\n            if(input) {\r\n              return (input.oninput !== undefined)\r\n                ? 'input'\r\n                : (input.onpropertychange !== undefined)\r\n                  ? 'propertychange'\r\n                  : 'keyup'\r\n              ;\r\n            }\r\n            return false;\r\n          },\r\n```\r\nNow within jsfiddle `input.oninput` is equal `null` resulting in returning `\"input\"`.\r\nWithin my page `input.oninput` is equal `undefined` resulting in returning `\"keyup\"`.\r\n\r\nFor now I simply added `input.oninput = null` before the `return`.\r\n\r\nBut what could this be?"}}