Skip to content

Make Tabs’ mobile select optional and reactive. - #23

Merged
koculu merged 2 commits into
mainfrom
set-tab-mobile-select-optional
Oct 8, 2026
Merged

koculu merged 2 commits into
mainfrom
set-tab-mobile-select-optional

Conversation

@koculu

@koculu koculu commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Make Tabs’ mobile select optional and reactive

Changes

Tabs now keep their buttons and overflow menu on mobile by default. The new mobileSelect prop accepts a boolean or reactive ref; setting it to true enables the native select at viewport widths up to 640px.

Changing the prop updates that instance automatically without requiring refresh(), rebuilding controls, or resetting selection and panel content. Responsive styles now target each Tabs instance’s own controls, preventing a compact parent from overriding nested tabs.

The documentation and playground demonstrate the option, including reactive toggling and the new default.

Validation:

  • Tabs rendering, reactivity, and nested-style regression tests pass.
  • TypeScript checks and frontend build pass.
  • Browser checks cover toggling, independent instances, preserved state, overflow, and breakpoint transitions.

@koculu
koculu merged commit 9746189 into main Oct 8, 2026
5 checks passed
@koculu
koculu deleted the set-tab-mobile-select-optional branch October 8, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant