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

Interaction with content while sidemenu is open

Open mhartington opened this issue 12 years ago • 3 comments

When trying to swipe and close the side-menu, you're able to interact with items inside ion-content, such as a swipe list or any of the form inputs. This shouldn't be so.

Swipe open the side-menu in the codepen and then swipe right on the ion-item, you can interact with it with out closing the side-menu.

http://codepen.io/mhartington/pen/ocKyg

I know @adamdbradley added the functionality to close the side-menu when you tap on ion-content in #648, but it should be expanded.

In JQM, this is solved by creating a div that is absolutely over the content with a hight z-index so that if the were to tap on the content, they're actually interacting with this new layer.

This could work for our case as we already have $ionicSideMenuDelegate.isOpen() and could just create that blocking layer if this is true.

mhartington avatar May 10 '14 17:05 mhartington

+1

ashconnell avatar May 10 '14 23:05 ashconnell

+1

ianlyons avatar May 11 '14 00:05 ianlyons

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 10:09 ionitron-bot[bot]