Skip to content

Commit

Permalink
fix: add live region around scroll index update (#31863)
Browse files Browse the repository at this point in the history
  • Loading branch information
smhigley authored Jun 28, 2024
1 parent f6c03d3 commit 5a278bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const ScrollTo = () => {
<div>
<Input defaultValue={'0'} onChange={onChangeGoToIndex} />
<Button onClick={scrollToIndex}>{'GoTo'}</Button>
<Text>{message}</Text>
<Text aria-live="polite">{message}</Text>
<VirtualizerScrollView
numItems={childLength}
itemSize={100}
Expand Down

0 comments on commit 5a278bd

Please sign in to comment.