vue2-scrollbar icon indicating copy to clipboard operation
vue2-scrollbar copied to clipboard

Flexible height with percentages

Open larsvdd opened this issue 7 years ago • 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?"

larsvdd avatar Jun 26 '18 14:06 larsvdd

Have you solved it?

ZhelinCheng avatar Jul 05 '18 02:07 ZhelinCheng

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.

larsvdd avatar Jul 20 '18 14:07 larsvdd