KingSora / OverlayScrollbars

A javascript scrollbar plugin that hides the native scrollbars, provides custom styleable overlay scrollbars, and preserves the native functionality and feel.
https://kingsora.github.io/OverlayScrollbars
MIT License
3.78k stars 214 forks source link

I am using virtual scrolling, but after initializing overlayscrollbars, the virtual scrolling does not work and the complete list data is not displayed. #530

Closed freedomwebcn closed 1 year ago

freedomwebcn commented 1 year ago

You can delete the initialization OverlayScrollbars code to observe the differences,thanks。

https://codesandbox.io/s/pensive-ganguly-8uprjv?file=/src/App.vue

KingSora commented 1 year ago

@freedomwebcn This issue has a lot of similarities with https://github.com/KingSora/OverlayScrollbars/issues/526 please just follow the statement at the end of that issue.

Here is your example with small tweaks and overlayscrollbars v2.2.0: https://codesandbox.io/s/nervous-ardinghelli-fgxqbh?file=/src/App.vue

freedomwebcn commented 1 year ago

@freedomwebcn This issue has a lot of similarities with #526 please just follow the statement at the end of that issue.

Here is your example with small tweaks and overlayscrollbars v2.2.0: https://codesandbox.io/s/nervous-ardinghelli-fgxqbh?file=/src/App.vue

Thank you, you solved my problem. Have a nice day.