Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible height with percentages #36

Open
larsvdd opened this issue Jun 26, 2018 · 2 comments
Open

Flexible height with percentages #36

larsvdd opened this issue Jun 26, 2018 · 2 comments

Comments

@larsvdd
Copy link

larsvdd commented Jun 26, 2018

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?"

@ZhelinCheng
Copy link

Have you solved it?

@larsvdd
Copy link
Author

larsvdd commented Jul 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants