color-picker icon indicating copy to clipboard operation
color-picker copied to clipboard

Everything works well in web page whereas the ribbon can't be slid normally in mobile terminal.

Open zero631 opened this issue 5 years ago • 0 comments

  1. In mobile terminal, The panel can be slid or clicked, but the ribbon can only be clicked. look at the gif: WeChat_20201104150316 when I bind the sliding event with "touchmove" and "touchend" in Ribbon.js, the ribbon can be slid.
  2. 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?

zero631 avatar Nov 04 '20 07:11 zero631