Describe the bug
An issue (elastic/kibana#213708) was reported in Kibana where a particular rule in the euiScreenReaderOnly styles is causing a weird bug in the UI when placed inside an element with the draggable attribute.
Following a discussion in the #eui channel, it'd be worthwhile to consider updating euiScreenReaderOnly considering some styles are there because of browser inconsistencies that may no longer be true.
The offending part is inset-inline-start: -10000px.
The left: -10000px value was introduced here, in 2021:
These issues are related:
Then in 2022, left was replaced with its logical counterpart inset-inline-start, here:
I would consider adjusting these styles while:
Impact and severity
The problem was fixed in Kibana with a workaround, this is not urgent
Environment and versions
- EUI version:
- React version:
- Kibana version (if applicable):
- Browser:
- Operating System:
Minimum reproducible sandbox
To Reproduce
It's easily reproducible, following the instructions in the post, elastic/kibana#213708 (comment) and elastic/kibana#213708 (comment).
Expected behavior
Screenshots
Additional context
Describe the bug
An issue (elastic/kibana#213708) was reported in Kibana where a particular rule in the euiScreenReaderOnly styles is causing a weird bug in the UI when placed inside an element with the draggable attribute.
Following a discussion in the #eui channel, it'd be worthwhile to consider updating
euiScreenReaderOnlyconsidering some styles are there because of browser inconsistencies that may no longer be true.The offending part is
inset-inline-start: -10000px.The
left: -10000pxvalue was introduced here, in 2021:These issues are related:
clipto fix scrolling issues caused by absolute positioning #5130clipproperty to fix scrolling bug #5152Then in 2022,
leftwas replaced with its logical counterpartinset-inline-start, here:I would consider adjusting these styles while:
Impact and severity
The problem was fixed in Kibana with a workaround, this is not urgent
Environment and versions
Minimum reproducible sandbox
To Reproduce
It's easily reproducible, following the instructions in the post, elastic/kibana#213708 (comment) and elastic/kibana#213708 (comment).
Expected behavior
Screenshots
Additional context