-
Notifications
You must be signed in to change notification settings - Fork 143
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
Color picker does not work properly on mobile. #204
Comments
The dialog should stop propagation of the slider events, but I guess the page moving happens due to some other event that the dialog does not handle. I'll check this as soon as I have time to see what is going on. |
Did anybody found the solution? I'm also facing the same issue. |
Same for me, its pretty annyoing. :/ |
It started working when I installed other node module. Its strange I don't know how it happened. This solution is working in my older project and not working in latest version of ionic-angular (in android). I just did the following and it worked in my older project:
Thanks |
When you drag the color selection cursor, even in your demo, page background moves along with cursor.
To reproduce:
Option 1: open your demo website from mobile browser and try to pick color, drag color selection cursor.
Option 2: open chrome, toggle device toolbar, select mobile devices (for example, iPhone X), reload page and open your demo website. Try to pick color, drag color selection cursor.
Solution suggestion:
Make it possible to stop preventing event's default and stopping propagation somehow. Maybe return event not as value, for example 'colorPickerChange' returns string value, it could be whole event instead.
The text was updated successfully, but these errors were encountered: