Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: prevent layout shift when Select component dropdown appears#17990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 1 commit intomainfromjaaydenh/select-layout-shift
May 23, 2025

Conversation

jaaydenh
Copy link
Contributor

@jaaydenhjaaydenh commentedMay 22, 2025
edited
Loading

When scrollbars are always visible, open the dropdown for aSelectcomponent causes a layout shift because of scrollbars being hidden when the Select is open. This fix prevents the layout shift from the scrollbar being removed.

Screen.Recording.2025-05-22.at.17.06.37.mov

Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Just double check it does not cause any side effects in other components such as dialogs.

@jaaydenh
Copy link
ContributorAuthor

@BrunoQuaresma added another commit to handle the case of MUI popovers

@jaaydenhjaaydenhforce-pushed thejaaydenh/select-layout-shift branch fromc1c518c to56d7008CompareMay 23, 2025 17:55
@jaaydenhjaaydenh merged commitce4c8c7 intomainMay 23, 2025
33 checks passed
@jaaydenhjaaydenh deleted the jaaydenh/select-layout-shift branchMay 23, 2025 19:51
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 23, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

@ibetitsmikeibetitsmikeibetitsmike approved these changes

Assignees

@jaaydenhjaaydenh

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@jaaydenh@BrunoQuaresma@ibetitsmike

[8]ページ先頭

©2009-2025 Movatter.jp