BosNaufal/vue2-scrollbar

Flexible height with percentages

Opened this issue · 2 comments

Hi, is it possible to make this work with a flexible height?
I am trying to do this with vue2-scrollbar now, so I have 3 flexboxes, 2 have a height set. The third should be flexible and should get the scrollbar when it no longer fits the screen.

So what my question comes down to: "Is setting a max-height required or is there a work-around?"

Have you solved it?

Yeah, my bad. I did it with flex boxes.

Currently facing a new issue though. I use the scrollbar to scroll through filters. Now I have a function that filters my filters (yeah...) and so I have less results. But if there are only a few results it should update to check if the scrollbar is still needed. If not -> hide it.