@shadcn/react@0.2.1

EmilTholin/image-trace-loader@shadcn/react@0.2.1Jul 8, 2026by github-actions[bot]

AI Summary

A patch release addressing scroll behavior issues in the MessageScroller component, specifically improving how auto-scroll handles anchored turns and resolving ResizeObserver warnings during streamed content.

Key Highlights

  • Fix MessageScroller autoScroll around anchored turns
  • Fix anchor hold handoff to follow-output
  • Fix ResizeObserver loop completed error

New Features

  • Improved auto-scroll stability
  • Fixed ResizeObserver callback coalescing
  • Enhanced scroll button behavior

Full Release Notes

### Patch Changes

- [#11106](https://github.com/shadcn-ui/ui/pull/11106) [`f6a26478547c7057aeda82516666dc3473dc39bd`](https://github.com/shadcn-ui/ui/commit/f6a26478547c7057aeda82516666dc3473dc39bd) Thanks [@shadcn](https://github.com/shadcn)! - Fix MessageScroller autoScroll around anchored turns: the anchor hold now hands off to follow-output once the streamed reply fills the viewport, content growth outrunning the frame-coalesced resize handler no longer releases follow-output, and the scroll button no longer flickers while follow-output closes the gap a streamed chunk just opened.

- [#11100](https://github.com/shadcn-ui/ui/pull/11100) [`dd6ce77cf1606eee2839368a97cc35417f763232`](https://github.com/shadcn-ui/ui/commit/dd6ce77cf1606eee2839368a97cc35417f763232) Thanks [@shadcn](https://github.com/shadcn)! - Fix MessageScroller abandoning a newly appended scrollAnchor placement when autoScroll is enabled, so the anchored turn holds at the reading line while the reply streams.

- [#11085](https://github.com/shadcn-ui/ui/pull/11085) [`628e427231ca4bb7f586a69f99fe7809749a53e2`](https://github.com/shadcn-ui/ui/commit/628e427231ca4bb7f586a69f99fe7809749a53e2) Thanks [@devnomic](https://github.com/devnomic)! - Fix MessageScroller firing "ResizeObserver loop completed with undelivered notifications" during streamed content growth by coalescing ResizeObserver callbacks into requestAnimationFrame.