Skip to content

Commit

Permalink
Add missing changeset for @dnd-kit/accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed May 30, 2022
1 parent 90cb663 commit 3978c43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/position-fixed-liveregion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@dnd-kit/accessibility': patch
---

The ARIA live region element used for screen reader announcements is now positioned using `position: fixed` instead of `position: absolute`. As of `@dnd-kit/core^6.0.0`, the live region element is no longer portaled by default into the `document.body`. This change was introduced in order to fix issues with portaled live regions. However, this change can introduce visual regressions when using absolutely positioned elements, since the live region element is constrained to the stacking and position context of its closest positioned ancestor. Using fixed position ensures the element does not introduce visual regressions.

0 comments on commit 3978c43

Please sign in to comment.