Skip to content

Commit

Permalink
chore(tabs): change the default value of destroyInactiveTabPanel to true
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed May 10, 2024
1 parent 90559d3 commit 266b5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/tabs/src/use-tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface Props extends Omit<HTMLNextUIProps, "children"> {
isVertical?: boolean;
/**
* Whether to destroy inactive tab panel when switching tabs. Inactive tab panels are inert and cannot be interacted with.
* @default false
* @default true
*/
destroyInactiveTabPanel?: boolean;
}
Expand Down

0 comments on commit 266b5fc

Please sign in to comment.