Skip to content

fix(compactSelect): Fix scrolling issue due to live-announcer#49777

Merged
vuluongj20 merged 4 commits into
masterfrom
vl/gridlist-live-announcer
May 25, 2023
Merged

fix(compactSelect): Fix scrolling issue due to live-announcer#49777
vuluongj20 merged 4 commits into
masterfrom
vl/gridlist-live-announcer

Conversation

@vuluongj20
Copy link
Copy Markdown
Contributor

Fix a scrolling issue coming from CompactSelect in grid mode, specifically the LiveAnnouncer element:

Screen.Recording.2023-05-25.at.10.37.14.AM.mov

This was a react-aria issue and was fixed in adobe/react-spectrum#3807. We just need to upgrade @react-aria/gridlist.

After upgrading, the LiveAnnouncer element is always 1px wide/tall and won't cause any scrolling issue.
image

@vuluongj20 vuluongj20 requested a review from a team as a code owner May 25, 2023 17:51
@vuluongj20 vuluongj20 requested a review from evanpurkhiser May 25, 2023 17:51
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 25, 2023
@vuluongj20 vuluongj20 requested a review from a team as a code owner May 25, 2023 18:58
@vuluongj20 vuluongj20 merged commit 6769955 into master May 25, 2023
@vuluongj20 vuluongj20 deleted the vl/gridlist-live-announcer branch May 25, 2023 20:38
volokluev pushed a commit that referenced this pull request May 30, 2023
Fix a scrolling issue coming from `CompactSelect` in grid mode,
specifically the `LiveAnnouncer` element:


https://github.com/getsentry/sentry/assets/44172267/171b3ca1-c61e-43b0-9ac5-be830a2f91af

This was a `react-aria` issue and was fixed in
adobe/react-spectrum#3807. We just need to
upgrade `@react-aria/gridlist`.

After upgrading, the `LiveAnnouncer` element is always 1px wide/tall and
won't cause any scrolling issue.
<img width="1543" alt="image"
src="https://github.com/getsentry/sentry/assets/44172267/3b2d9b25-c056-4e7f-9004-48f5ab1e7075">
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants