Skip to content

Conversation

@igorDykhta
Copy link
Collaborator

For #3222

  • layout containment: prevents child layout changes from affecting ancestors/siblings.
  • paint containment: prevents paint operations from leaking outside the panel.
  • Net effect: toggles that re-render Tooltip content no longer cause the map to shift, while the panel still behaves normally.

@igorDykhta igorDykhta marked this pull request as ready for review October 21, 2025 02:37
Copilot AI review requested due to automatic review settings October 21, 2025 02:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a layout shift issue in the interaction panel by applying CSS containment. When tooltips are toggled and re-render, they were previously causing unintended layout shifts in the map view.

Key Changes:

  • Added CSS containment properties (layout paint) to the interaction panel's styled component to prevent child layout changes from affecting the map

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@igorDykhta igorDykhta requested review from ilyabo and lixun910 October 21, 2025 12:58
@igorDykhta igorDykhta merged commit 2aa2009 into master Oct 22, 2025
8 checks passed
@igorDykhta igorDykhta deleted the igr/interaction-panel-shift branch October 22, 2025 23:56
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

Successfully merging this pull request may close these issues.

3 participants