mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 22:54:18 +00:00
Issue: The ModelItem component's onPeek handler was sometimes logging incorrect data, causing the model selector to appear inconsistent. Changes Made: Verified that the aria-selected attribute is true before calling onPeek(model), ensuring the function is only called when the element is actually selected. Fixed Model Selector Inconsistency in Playground Example fixes #4506