{"action":"opened","issue":{"url":"https://api.github.com/repos/basecamp/trix/issues/372","repository_url":"https://api.github.com/repos/basecamp/trix","labels_url":"https://api.github.com/repos/basecamp/trix/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/basecamp/trix/issues/372/comments","events_url":"https://api.github.com/repos/basecamp/trix/issues/372/events","html_url":"https://github.com/basecamp/trix/issues/372","id":208709736,"number":372,"title":"Trix-blur triggered multiple times with multiple trix and input field","user":{"login":"ookarchitecten","id":16511545,"avatar_url":"https://avatars.githubusercontent.com/u/16511545?v=3","gravatar_id":"","url":"https://api.github.com/users/ookarchitecten","html_url":"https://github.com/ookarchitecten","followers_url":"https://api.github.com/users/ookarchitecten/followers","following_url":"https://api.github.com/users/ookarchitecten/following{/other_user}","gists_url":"https://api.github.com/users/ookarchitecten/gists{/gist_id}","starred_url":"https://api.github.com/users/ookarchitecten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ookarchitecten/subscriptions","organizations_url":"https://api.github.com/users/ookarchitecten/orgs","repos_url":"https://api.github.com/users/ookarchitecten/repos","events_url":"https://api.github.com/users/ookarchitecten/events{/privacy}","received_events_url":"https://api.github.com/users/ookarchitecten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-19T10:54:22Z","updated_at":"2017-02-19T10:54:22Z","closed_at":null,"body":"Multiple Trix instances work perfectly, but when using the trix-blur or trix-focus event something weird happens. When going back and forth between the editors, sometimes, multiple events are triggered. It doesn't happen when you go from end of text from trix one to end of text of trix two. But it does when going from lets say the middle of thr text to another trix editor.\r\n\r\nIt seems that, when changing from trix-1 to trix-2, 1 gets blurres, 2 gets focused and blurred again, 1 gets focused and blurred again and than 2 gets focused again. Maybe it has something to do with resetting the old trix? Maybe a cursor reset action from within trix triggers a focus ....\r\n\r\n##### Steps to Reproduce\r\n\r\ncheckout the console on this CODEPEN and see what happens.\r\nhttps://codepen.io/ookarchitecten/pen/WRqvxr\r\n\r\n##### Details\r\n\r\n* Trix version: trix\r\n* Browser name and version: safari\r\n* Operating system:  osx\r\n"}}
{"actor":{"display_login":"ookarchitecten"}}