Skip to content

v11.8.0

Choose a tag to compare

@janosh janosh released this 09 Jul 13:31

What's Changed

  • Add async oncreate support: return a Promise (or thenable) to persist user-created options before they're added; spinner + aria-busy while pending, rejections abort the add #427
  • Add virtualList prop for windowed dropdown rendering of large flat option lists (tunable itemHeight/overscan) #427
  • Add portal placement param: auto (new default) flips the dropdown above the input when it would overflow the viewport bottom #427
  • Fix 19 bugs across MultiSelect, attachments, CmdPalette, CodeExample, and heading-anchors, incl. falsy options (0) unselectable via keyboard, foreign drag-drops corrupting selected, keyboard nav escaping maxOptions, group deselect bypassing minSelect, missing IME composition guard, duplicate options crashing the keyed each, sortable destroying header markup, cross-instance tooltip clearing, and Unicode highlight offsets #427
  • Give tooltips a visible theme-aware default border and audit the test suite (~58 redundant tests removed, ~50 regression tests added) #427
  • Fix schemeless-page tooltip readability and support partial OptionStyle objects #426
  • Fix tooltip, focus, and shortcut edge cases #425
  • Fix retain-focus dropdown behavior #424
  • Clean up Svelte formatting, types, and low-value tests #422
  • Simplify Vite/Svelte setup and tighten tests #421

Full Changelog: v11.7.2...v11.8.0