Skip to content

Fix dropdown clipping in filter and segment modals#6489

Open
sanne-san wants to merge 1 commit into
masterfrom
sanne-dropdown-clipping
Open

Fix dropdown clipping in filter and segment modals#6489
sanne-san wants to merge 1 commit into
masterfrom
sanne-dropdown-clipping

Conversation

@sanne-san

Copy link
Copy Markdown
Contributor

Changes

  • Add grow mode to Modal that lets the panel grow with content and defers scroll to the outer overlay
  • ModalLayout opts in, so filter and segment modals stop clipping combobox popovers
  • Breakdown modals keep the bounded behavior as inner content scrolls
  • Remove dead viewport/handleResize/DEFAULT_WIDTH/getStyle/allowScroll plumbing

Tests

  • This PR does not require tests

Changelog

  • Entry has been added to changelog

Documentation

  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode

- Add `grow` mode to `Modal` that lets the panel grow with content and defers scroll to the outer overlay
- `ModalLayout` opts in, so filter and segment modals stop clipping combobox popovers
- Breakdown modals keep the bounded behavior as inner content scrolls
- Remove dead `viewport`/`handleResize`/`DEFAULT_WIDTH`/`getStyle`/`allowScroll` plumbing
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Preview environment👷🏼‍♀️🏗️
PR-6489

@sanne-san sanne-san requested a review from aerosol July 7, 2026 10:00
@sanne-san sanne-san requested a review from apata July 7, 2026 11:08
@sanne-san sanne-san added the bug Something isn't working label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Preview environment👷🏼‍♀️🏗️
PR-6489

@apata apata left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, this introduces a new clipping issue in breakdown modals when using a phone in landscape mode

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants