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

Tap on wheel color picker does not work in Framework7 #23

Closed
ahmadx87 opened this issue Dec 29, 2017 · 1 comment
Closed

Tap on wheel color picker does not work in Framework7 #23

ahmadx87 opened this issue Dec 29, 2017 · 1 comment

Comments

@ahmadx87
Copy link

I want to use this awesome plugin in my app. I’m using Framework7 ver 2.02 to create a hybrid mobile app. Every thing looks great except short taping the wheel for picking colors does not work. However long tap and touch move seem to work with no problem. I uploaded my code here.

If you use google chrome's Device Mode you will see it does not respond to taps. I tested it on a real device and it did not work. Why is this happening? I don't know if there an issue with Framework7 or this plugin? It worked like a charm with Jquerymobile. Any help would be appreciated.

@ahmadx87
Copy link
Author

ahmadx87 commented Jan 6, 2018

I really love this plugin. It is the only one I could find that greatly matches what I wanted.
I found the solution to be this:
add the following to line 884 of jquery.wheelcolorpicker.js
$('html').on('touchstart.wheelColorPicker', WCP.Handler.html_mousemove);

@ahmadx87 ahmadx87 closed this as completed Jan 6, 2018
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