{"action":"created","issue":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/120","labels_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/120/comments","events_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/120/events","html_url":"https://github.com/meteoric/meteor-ionic/issues/120","id":62214598,"number":120,"title":"Closing SideMenu when taping on ionSideMenuContent","user":{"login":"fpoirier1","id":1587658,"avatar_url":"https://avatars.githubusercontent.com/u/1587658?v=3","gravatar_id":"","url":"https://api.github.com/users/fpoirier1","html_url":"https://github.com/fpoirier1","followers_url":"https://api.github.com/users/fpoirier1/followers","following_url":"https://api.github.com/users/fpoirier1/following{/other_user}","gists_url":"https://api.github.com/users/fpoirier1/gists{/gist_id}","starred_url":"https://api.github.com/users/fpoirier1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpoirier1/subscriptions","organizations_url":"https://api.github.com/users/fpoirier1/orgs","repos_url":"https://api.github.com/users/fpoirier1/repos","events_url":"https://api.github.com/users/fpoirier1/events{/privacy}","received_events_url":"https://api.github.com/users/fpoirier1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-16T21:26:59Z","updated_at":"2015-03-17T14:39:54Z","closed_at":"2015-03-16T21:41:29Z","body":"I would to be able to close the SideMenu when user tap on the `SideMenuContent`, I don't think this feature is implemented yet, right ?\r\n\r\nThis is a workaround I came up with.\r\n\r\n```\r\nTemplate.ionSideMenuContainer.events({\r\n  'click .snapjs-left .snap-content' : function(event){\r\n    event.stopPropagation()\r\n    if(!IonSideMenu.snapper.state().state == \"closed\")\r\n      IonSideMenu.snapper.close();\r\n  }\r\n})\r\n\r\n.snapjs-left .snap-content::after,\r\n.snapjs-right .snap-content::after {\r\n  content: \" \";\r\n  position: absolute;\r\n  top: 0;\r\n  left: 0;\r\n  right: 0;\r\n  bottom: 0;\r\n  z-index: $z-index-click-block;\r\n}\r\n```\r\n\r\nI would be glad to contribute to implement a cleaner approch. Let me know what are your thoughts on this."},"comment":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/comments/82387986","html_url":"https://github.com/meteoric/meteor-ionic/issues/120#issuecomment-82387986","issue_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/120","id":82387986,"user":{"login":"nickw","id":3907,"avatar_url":"https://avatars.githubusercontent.com/u/3907?v=3","gravatar_id":"","url":"https://api.github.com/users/nickw","html_url":"https://github.com/nickw","followers_url":"https://api.github.com/users/nickw/followers","following_url":"https://api.github.com/users/nickw/following{/other_user}","gists_url":"https://api.github.com/users/nickw/gists{/gist_id}","starred_url":"https://api.github.com/users/nickw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickw/subscriptions","organizations_url":"https://api.github.com/users/nickw/orgs","repos_url":"https://api.github.com/users/nickw/repos","events_url":"https://api.github.com/users/nickw/events{/privacy}","received_events_url":"https://api.github.com/users/nickw/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T14:39:54Z","updated_at":"2015-03-17T14:39:54Z","body":"Oh, so does Ionic always close the side menu when you click links? If so I think we should definitely mimic that behavior."}}