Home Jquery Solved Minicolors mouse drag issue for mobile devices

Solved Minicolors mouse drag issue for mobile devices

by therichpost
2 comments
jquery

Hello to all, welcome to therichpost.com. In this post, I will tell you, How to solve Minicolors mouse drag issue for mobile devices?

With this code, we can stop the mouse drag event on particular html element.

Here is the working code and you need to add this code into you jquery script:

$(‘.minicolors-panel’).bind(‘touchmove’, function(e){e.preventDefault()})

There are so many Regular expression and i will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com

You may also like

2 comments

denniel February 13, 2018 - 6:00 am

Thank you so much, It saved my day.

Reply
therichpost February 15, 2018 - 4:53 am

Welcome denniel and happy it helped you

Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.