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

Error occurs when releasing a dragged click outside of browser window #1612

Closed
jansent opened this issue Jun 12, 2014 · 2 comments
Closed

Error occurs when releasing a dragged click outside of browser window #1612

jansent opened this issue Jun 12, 2014 · 2 comments

Comments

@jansent
Copy link

jansent commented Jun 12, 2014

In an Ionic Side Menu view the following error occurs when you click and drag to the side to bring out the menu and then release your click outside the boundaries of the browser window:

endEvent.target.classList is undefined
(endEvent.target.classList.contains('button') ? TAP_RELEASE_BUTTON_TOLERANCE
ionic.js (line 2917)

Should be a relatively easy fix. I'm sure this error would never happen on a mobile device but it is still worth patching.

See the issue on this codepen: http://codepen.io/ionic/pen/tcIGK

Click and drag to the right and release the click outside of the browser window. I should also mention that I am using beta 7, and this bug was present in 6 as well.

@jansent jansent changed the title Error occurs when releasing a dragged click off-canvas Error occurs when releasing a dragged click outside of browser window Jun 12, 2014
@jansent
Copy link
Author

jansent commented Jun 13, 2014

Awesome!

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

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 ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants