{"action":"opened","issue":{"url":"https://api.github.com/repos/nikgraf/belle/issues/1","labels_url":"https://api.github.com/repos/nikgraf/belle/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nikgraf/belle/issues/1/comments","events_url":"https://api.github.com/repos/nikgraf/belle/issues/1/events","html_url":"https://github.com/nikgraf/belle/issues/1","id":64677302,"number":1,"title":"Text-input memory/element leak?","user":{"login":"eugene1g","id":147496,"avatar_url":"https://avatars.githubusercontent.com/u/147496?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene1g","html_url":"https://github.com/eugene1g","followers_url":"https://api.github.com/users/eugene1g/followers","following_url":"https://api.github.com/users/eugene1g/following{/other_user}","gists_url":"https://api.github.com/users/eugene1g/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene1g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene1g/subscriptions","organizations_url":"https://api.github.com/users/eugene1g/orgs","repos_url":"https://api.github.com/users/eugene1g/repos","events_url":"https://api.github.com/users/eugene1g/events{/privacy}","received_events_url":"https://api.github.com/users/eugene1g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T02:40:57Z","updated_at":"2015-03-27T02:40:57Z","closed_at":null,"body":"Hi Nikgraf,\r\n\r\nCool branch off! One note - there might be a memory/element leak somewhere. I noticed that after typing in the demo textbox (http://nikgraf.github.io/belle/#text-input) my browser tends to go ballistic and adds hundreds of new DOM elements on key keystroke, which brings it to a halt and introduces a lengthy lag between keydown and character appearing on the screen. After a few lines document.getElementsByTagName('*') reporting 20,000 elements (vs 300 at the start).\r\n\r\nI didn't have a chance to investigate whether the problem is with the textbox itself or the page wrapping or any external change listeners."}}