Make Popover aware of the viewport and doesn't exceed its height #1081
Answered
by
benoitgrelard
emadabdulrahim
asked this question in
Help
-
Is it possible to make Popover's height aware/not exceed the viewport height? Here's an example of the behavior I'm trying to achieve CleanShot.2022-01-12.at.21.04.22.mp4 |
Beta Was this translation helpful? Give feedback.
Answered by
benoitgrelard
Jan 13, 2022
Replies: 1 comment 9 replies
-
Hi @emadabdulrahim, yeah that isn't something we do for now, but we could look at potentially exposing a CSS variable for example which you could then use as a |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
emadabdulrahim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @emadabdulrahim, yeah that isn't something we do for now, but we could look at potentially exposing a CSS variable for example which you could then use as a
maxHeight
if you wanted to opt-in for the behaviour.