Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for unscrollable sidenav in react-workshop #2283

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

r100-stack
Copy link
Member

@r100-stack r100-stack commented Oct 4, 2024

Changes

@mayank99 noticed that the sidenav is not scrollable in newer versions of Chrome (e.g. 129.0, Canary 131). But it works in Edge 128.0, Firefox 130.0, and Safari 16.6.

Ladle already has an issue for this: tajo/ladle#574

Until they investigate why it doesn't work in Chrome and until either we or Ladle do a proper fix, this PR adds custom styles to make the sidenav scrollable. This is important as users using the react-workshop on Chrome might not be able to see all demos.

Testing

The sidenav is now scrollable in Chrome 129.0:

Before After
image image

Docs

N/A

@r100-stack r100-stack self-assigned this Oct 4, 2024
@r100-stack r100-stack marked this pull request as ready for review October 4, 2024 14:12
@r100-stack r100-stack requested a review from a team as a code owner October 4, 2024 14:12
@r100-stack r100-stack requested review from mayank99 and smmr-dn and removed request for a team October 4, 2024 14:12
@r100-stack r100-stack requested review from FlyersPh9 and removed request for smmr-dn October 4, 2024 14:38
@r100-stack r100-stack merged commit bfe09bc into main Oct 4, 2024
18 checks passed
@r100-stack r100-stack deleted the r/react-workshop-sidebar-scrollable-fix branch October 4, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants