baianat / verte

🎨 A Color picker component. Built from the bottom to work with Vue.js.
https://baianat.github.io/verte/
MIT License
181 stars 42 forks source link

Verte picker close on div scrolling #81

Open foysalremon opened 3 years ago

foysalremon commented 3 years ago

Describe the bug When verte picker is inside a div which have scrollbar it's trigger close and gone every time I scroll by dragging scrollbar.

To Reproduce Steps to reproduce the behavior:

  1. Place verte within a div which have scrollbar (overflow: auto)
  2. Click on verte guide to open the picker
  3. Scroll the parent div by dragging scrollbar
  4. See color picker is close

Expected behavior Opened color picker should remain open while it's within a div with scrollbar and the div is scroll.

Demo See Here

Desktop (please complete the following information):