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
open it on mobile (android, Chrome) and open "Inline HTML" modal window
most of close button will not be visible .
What happens?
There is CSS rule .tobii__slide [data-type] with value of: max-height: var(--slide-max-height); or max-height: calc(100vh - 2.77778em). Because this element is centered, layout shifts to top and hides most of close button. But I can not understand why desktop chrome and mobile chrome renders this situation in different ways.
Possible solution
Replace above line to: max-width: 100%.
p.s. more testing must be made before this can be updated.
The text was updated successfully, but these errors were encountered:
viliusle
changed the title
missing close button on for inline elements
missing close button for inline elements in some cases
Dec 20, 2022
If users will open modal dialog on Inline HTML elements, close button may not be visible if matching all conditions below:
To reproducer it:
What happens?
There is CSS rule
.tobii__slide [data-type]
with value of:max-height: var(--slide-max-height);
ormax-height: calc(100vh - 2.77778em)
. Because this element is centered, layout shifts to top and hides most of close button. But I can not understand why desktop chrome and mobile chrome renders this situation in different ways.Possible solution
Replace above line to:
max-width: 100%
.p.s. more testing must be made before this can be updated.
The text was updated successfully, but these errors were encountered: