color-picker
color-picker copied to clipboard
Everything works well in web page whereas the ribbon can't be slid normally in mobile terminal.
- In mobile terminal, The panel can be slid or clicked, but the ribbon can only be clicked.
look at the gif:
when I bind the sliding event with "touchmove" and "touchend" in Ribbon.js, the ribbon can be slid. - In addition, I used the method of preventing bubbling to prevent the sliding event of the component from affecting the outer layer, which caused the sliding event of the component to be prohibited. Perhaps the sliding event should not be bound to the "window", but to the specified dom element?