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

tooltip position error when editor dom node with transform style #1284

Closed
deepkolos opened this issue Oct 23, 2023 · 1 comment
Closed

tooltip position error when editor dom node with transform style #1284

deepkolos opened this issue Oct 23, 2023 · 1 comment

Comments

@deepkolos
Copy link

Describe the issue

image

Browser and platform

Edge

Reproduction link

No response

@marijnh
Copy link
Member

marijnh commented Oct 24, 2023

I incorrectly assumed Chrome would behave the same as Firefox in case of a fixed position element inside a transformed element, and give it a meaningful offsetParent property. But it seems to just always set the offsetParent on fixed elements to null, requiring a more roundabout detection of the situation where a transform breaks fixed positioning of the tooltips. Attached patch should help with this.

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

No branches or pull requests

2 participants