39ddf90725701d1ecfcd3013101d7392d586aa9e
Svelte 5's mount() does not return prop accessors — setting 'instance.items = newValue' is a no-op. Switching to a single $state proxy passed as 'model' lets the parent mutate fields and have the dropdown react. The prop is named 'model' (not 'state') because the $state rune name shadows a 'state' identifier in Svelte 5 templates. Position class also switches from absolute to fixed so viewport- relative DOMRect coordinates from clientRect() work when the dropdown is mounted on document.body. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided
Languages
Python
73.2%
TypeScript
11.5%
Java
10.8%
Svelte
4.2%
Shell
0.1%