donmbelembe / vue-dragscroll

A vue directive to make a scrollable element scroll by draging to the scroll direction
https://vue-dragscroll.clebinfosys.com/
MIT License
261 stars 32 forks source link

Slow re-render using round border-radius, overflow hidden in Firefox #44

Open louisch opened 5 years ago

louisch commented 5 years ago

In Firefox, when dragging the contents of a div with border-radius 50% (so a circle) and overflow: hidden, the browser is slow to re-render, resulting in the content visually overflowing or underflowing for 1~4 seconds before the re-render happens and the content is correctly displayed again.

Screenshot from 2019-06-25 12-45-30 Screenshot from 2019-06-25 12-45-34

donmbelembe commented 5 years ago

I was able to reproduce the same error on firefox, it only happens when overflow is set to hidden, I don't know exactly why we get this problem on firefox