Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When aside is open, some clicks register on visible section elements #265

Open
trevorgehman opened this issue Aug 30, 2013 · 0 comments
Open

Comments

@trevorgehman
Copy link

If I have an Sside open, sometimes clicks on the Aside's menu will trigger clicks inside the section.

I can solve this by increasing the z-index of the aside, but then the slide transition breaks.

I can also solve this with some javascript:

// Prevent accidental clicks
$('section').on("tap",function(event) {
    if($('aside#menu').hasClass('show')) {
        return false;
    }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant