-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: workaround LiveRegion layout issues (#1534)
* fix weird scrollHeight behavior See https://static.duvallj.pw/2024-11-19/scrollHeightBug/index.html for a reproduction, and https://blog.duvallj.pw/posts/2024-11-19-chrome-heisenbug-uncovered.html for an explanation
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@dnd-kit/accessibility': patch | ||
--- | ||
|
||
Workaround `<LiveRegion>` layout bug by adding explicit `top` and `left` | ||
attributes. Under sufficiently complex CSS conditions, the element would | ||
overflow containers that it's not supposed to. See [this | ||
post](https://blog.duvallj.pw/posts/2024-11-19-chrome-heisenbug-uncovered.html) | ||
for a complete explanation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters