Skip to content

fix: correct tooltip z-index in confirmation popup#2

Draft
tenderdeve wants to merge 1 commit into
mainfrom
fix/7988-tooltip-z-index
Draft

fix: correct tooltip z-index in confirmation popup#2
tenderdeve wants to merge 1 commit into
mainfrom
fix/7988-tooltip-z-index

Conversation

@tenderdeve
Copy link
Copy Markdown
Owner

Tooltips rendered inside confirmation modals can appear behind other popup content because the tooltip portal doesn't account for the modal's z-index layer. This uses EffectiveModalOrSheetZIndexContext (the same approach AdaptiveWebPopoverContent already follows) to resolve the tooltip z-index relative to the hosting modal.

Upstream issue: Uniswap#7988

Tested by verifying tooltip z-index resolution uses the effective modal stacking context when present, falling back to zIndexes.tooltip otherwise.

Use EffectiveModalOrSheetZIndexContext to ensure tooltip content renders
above the modal layer, matching the pattern used by AdaptiveWebPopoverContent.

Fixes Uniswap#7988
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.

1 participant