-
Notifications
You must be signed in to change notification settings - Fork 160
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
open and close events does not work on mobile #164
Comments
Plus: on iPad devices the onBodyClick(e) is always called twice when clicking on a button/div to trigger the display. |
I believe this is something to do with the body click auto close function . Presumbly this might be because of the phantom "double click" in some mobile browsers, particularly idevices. Could be resolved with a temporary ignore to the body click which then switches the behaviour back on after a timeout ? |
Perhaps ps-open could include a $scope.isopening = true; then
could be changed to function onBodyClick(e) {
|
Just a punt.. |
Hi Change: In Worked for me. |
On PC it is working, but on mobile when I click button ng-click="toggle()". $scope.checked value is always stay false, I dont know why but when I run it on mobile th value of $scope.checked should be reversed but it stays in same value.
edit:
This is issue occurs when close button is outside, and when I click that button it conflicts with click outside event thus it is not closing
The text was updated successfully, but these errors were encountered: