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

Popover content overflows when browser window is too small #2429

Closed
erlend-skarpnes opened this issue Aug 18, 2022 · 0 comments · Fixed by #2431
Closed

Popover content overflows when browser window is too small #2429

erlend-skarpnes opened this issue Aug 18, 2022 · 0 comments · Fixed by #2431
Assignees
Labels
🐛 bug Something isn't working

Comments

@erlend-skarpnes
Copy link

Describe the bug

When using a Popover in a window where the content is taller than the window height, the popover itself shrinks to maintain some space under it, but the content inside the popover overflows.

Steps to reproduce the bug

  1. Open a popover with a lot of content
  2. Shrink the height of the browser window until the popover starts shrinking.

Can be reproduced in your storybook:
image

Expected behavior

The popover should contain its content when it overflow, for example with a scrollbar (easy solution) or something more sophisticated (pagination?).

Specifications

  • Version: 0.20.4
  • Browser: Firefox
  • OS: Windows
@erlend-skarpnes erlend-skarpnes added the 🐛 bug Something isn't working label Aug 18, 2022
@oddvernes oddvernes self-assigned this Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants