Skip to content

Commit

Permalink
fix: chain modal overflows when button is clicked (#1607)
Browse files Browse the repository at this point in the history
* fix: modal overflows when onClick is happening

* changeset

* fix: chain list overflow for max 10 chains

* fix: tweak changeset

---------

Co-authored-by: Daniel Sinclair <d@niel.nyc>
  • Loading branch information
magiziz and DanielSinclair committed Nov 16, 2023
1 parent 39d81e9 commit 94dce82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-dingos-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rainbow-me/rainbowkit": patch
---

Fixed scroll bar inconsistencies in the Chain selector for large chain lists or when animating upon user interaction
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { style } from '@vanilla-extract/css';

export const DesktopScrollClassName = style({
maxHeight: 454,
maxHeight: 456,
overflowY: 'auto',
overflowX: 'hidden',
});

export const MobileScrollClassName = style({
maxHeight: 454,
maxHeight: 456,
overflowY: 'auto',
overflowX: 'hidden',
scrollbarWidth: 'none',
Expand Down

2 comments on commit 94dce82

@vercel
Copy link

@vercel vercel bot commented on 94dce82 Nov 16, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 94dce82 Nov 16, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.