floating-ui / popper.js.org

🍿🦉Website and Documentation for Popper and friends
https://popper.js.org
MIT License
74 stars 394 forks source link

fix: remove scrollable prop for followCursor demo #36

Closed atomiks closed 2 years ago

atomiks commented 2 years ago

Scrolling causes severe jittering with async scrolling in most browsers, and is not necessary to demonstrate here.


I also wanted to change the preventOverflow example on the landing page to avoid repositioning while "prevented" from overflowing (there are some jitters), but can't really demonstrate the feature succinctly unless the tooltip is inside the scrollable container

This section from tether.io could be useful on the Performance section:

Screen Shot 2021-11-10 at 3 52 48 am