{"action":"opened","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3285","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3285/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3285/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3285/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/3285","id":114869684,"number":3285,"title":"Sidebar not able to close in mobile browser, if tapped on the sidebar launcher icon","user":{"login":"romanzmykulova","id":7773285,"avatar_url":"https://avatars.githubusercontent.com/u/7773285?v=3","gravatar_id":"","url":"https://api.github.com/users/romanzmykulova","html_url":"https://github.com/romanzmykulova","followers_url":"https://api.github.com/users/romanzmykulova/followers","following_url":"https://api.github.com/users/romanzmykulova/following{/other_user}","gists_url":"https://api.github.com/users/romanzmykulova/gists{/gist_id}","starred_url":"https://api.github.com/users/romanzmykulova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanzmykulova/subscriptions","organizations_url":"https://api.github.com/users/romanzmykulova/orgs","repos_url":"https://api.github.com/users/romanzmykulova/repos","events_url":"https://api.github.com/users/romanzmykulova/events{/privacy}","received_events_url":"https://api.github.com/users/romanzmykulova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T17:41:23Z","updated_at":"2015-11-03T17:41:23Z","closed_at":null,"body":"I found same bug as in earlier 1.x.x version, so i just copied message:\r\n\r\nThis issue is reproducable in http://semantic-ui.com/modules/sidebar.html also under examples/trigger sidebar.\r\n\r\nIn my page, I had used attach event for setting launcher btn for sidebar as below\r\n$('#sidebar-right').sidebar('attach events', '.sidebar-toggle-btn')\r\n\r\nStep1 -> clicking on the sidebar-toggle-btn, shows the sidebar.\r\n\r\nStep2 -> When using in Desktop => clicking on the sidebar-toggle-btn, triggers the sidebar toggle event and since sidebar is already visible, it hides the sidebar as expected.\r\n\r\nStep 2 again in Mobile => clicking on the sidebar-toggle-btn, triggers the 'clickaway' function as the button is part of the dimmed page, also it moves to showing of the sidebar as well but it also ends up calling sidebar toggle event based on the 'attach event' setting and ends up closing the sidebar.\r\n\r\nCouldnt figure out why it happens only in mobile.\r\n\r\nI tried in my Mobile browser(chrome) and through browser mobile emulation - both had same results.\r\n\r\nPlease help me out guys.\r\n\r\nThanks in Advance."}}