ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: no $ionicSideMenuOpen and $ionicSideMenuClose events when open side menu by sliding content

Open aszmyd opened this issue 10 years ago • 3 comments

Type: bug

Platform: all

When open side menu with an hamburger icon, the events get fired (notice close event being called 3 times, not sure why but its not such issue for me at least). Problem is when we open side menu by slide content area from left to right. The menu appears but events are not fired.

image

Pen: http://codepen.io/anon/pen/ZQBExy

aszmyd avatar Dec 28 '15 13:12 aszmyd

Yes, it would be nice to fire the $ionicSideMenuOpen event when menu is opened by dragging.

I think it would be only add $rootScope.emit("$ionicSideMenuOpen") at $ionicSideMenus.snapToRest method, and similar with $ionicSideMenuClose. However, maybe some checks about if the menu was already open or closed should be performed.

kaikcreator avatar Jan 28 '16 10:01 kaikcreator

Hello! Thanks for opening an issue with us, we just need a little more info from you so that we can better help you with your issue. Would you mind posting a code sample, plunkr or codepen that we can use to reproduce your issue? Also, would you mind running ionic info and posting the output? Thanks again!

jgw96 avatar Mar 14 '16 18:03 jgw96

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

jgw96 avatar May 12 '16 20:05 jgw96