Cover Block: Consider placing inner content in a physical direction #43625
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
Internationalization (i18n)
Issues or PRs related to internationalization efforts
What problem does this address?
In #36237, there was a problem that the tooltip text shown by the matrix control of the cover block is the opposite of the physical arrangement in the RTL language. This is based on the fact that
AlignmentMatrixControl
flips dots left to right in the RTL language.Therefore, in #43126, the
AlignmentMatrixControl
component was updated by addingdirection:ltr
so that the dots always indicate the physical direction, independent of the language direction. However, since the cover block is based on a logical arrangement using flex layout, a quick fix was added to maintain the original behavior.But essentially, the matrix control should indicate a physical direction, so a change in language direction should not change the physical location of the inner content in the cover block.
(The current spec is that the placement flips left to right if the language direction changes.)
What is your proposed solution?
I propose to maintain the physical direction in the RTL language without reversing it.
The text was updated successfully, but these errors were encountered: