mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
fix(message-scroller): avoid ResizeObserver loop error by coalescing resize handling into rAF (#11085)
Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
5
.changeset/message-scroller-resize-observer-loop.md
Normal file
5
.changeset/message-scroller-resize-observer-loop.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@shadcn/react": patch
|
||||
---
|
||||
|
||||
Fix MessageScroller firing "ResizeObserver loop completed with undelivered notifications" during streamed content growth by coalescing ResizeObserver callbacks into requestAnimationFrame.
|
||||
Reference in New Issue
Block a user