DominikSerafin / vuebar

(🗃️ Archived) Vue 2 directive for custom scrollbar that uses native scroll behavior. Lightweight, performant, customizable and without dependencies. Used successfully in production on https://ggather.com
https://github.serafin.io/vuebar/
MIT License
649 stars 77 forks source link

vb-content with display:flex? #81

Closed FullStackAlex closed 5 years ago

FullStackAlex commented 5 years ago

Hi, thank you for this great library! Though one problem I have encountered using it in my project is that it doesn't work with .vb-content set to display:flex - you get the usual scrollbar to see. (I need the flexbox functionality for stretching the container content to the height of the window if the summed height of the elements is less than the window height - flexbox sets perfectly the right proportions of the elements within container.)

Any ideas?

FullStackAlex commented 5 years ago

Here is one screenshot with display: flex Screenshot 2019-06-09 at 02 57 17

FullStackAlex commented 5 years ago

And here with display: block Screenshot 2019-06-09 at 02 56 33

FullStackAlex commented 5 years ago

Sorry, I was wrong. It does actually show the Vuebar and the original one is hidden. But the container isn't scrollable even you drag the scrollbar manually.

FullStackAlex commented 5 years ago

Screenshot 2019-06-09 at 03 15 22

DominikSerafin commented 5 years ago

For now, I'm going to close this as this seems like issue unrelated to intended behavior of Vuebar.

I could look into it but I'll need a minimal reproduction first. Feel free to reopen with that provided. Thanks!