You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using vaadin-tooltip or vaadin-popover that uses e.g. bottom-start position, it isn't correctly flipped horizontally once the dir attribute on the document is set to rtl.
This is apparently caused by this logic that checks computedStyle() on first open and then sets attribute without relying on the global dir value available through DirMixin:
Description
When using
vaadin-tooltip
orvaadin-popover
that uses e.g.bottom-start
position, it isn't correctly flipped horizontally once thedir
attribute on the document is set tortl
.This is apparently caused by this logic that checks
computedStyle()
on first open and then sets attribute without relying on the globaldir
value available throughDirMixin
:web-components/packages/overlay/src/vaadin-overlay-position-mixin.js
Line 206 in 881a9f9
Expected outcome
I would expect the
dir
attribute to apply to the overlay so that horizontal alignment would be updated correctly.Expected alignment
Actual alignment
Minimal reproducible example
Steps to reproduce
dir
Environment
Vaadin version(s): 24.5 and earlier
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: