Commit fdce557
committed
fix(examples): scroll the composed emoji grid instead of overflowing
The vite example's custom `PagedGrid` used the bare `str-chat__emoji-picker__grid` class,
which has no CSS rule of its own (it is only react-virtuoso's className), so its
non-virtualized cells overflowed the fixed-height picker body and overlapped the preview
footer. Use the SDK's scrollable `str-chat__emoji-picker__grid-container` class
(`block-size: 100%` + `overflow-y`), the same one the built-in search-results view uses.1 parent c46e939 commit fdce557
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | | - | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments