Skip to content

Commit

Permalink
Fix in RangeControl
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jul 2, 2024
1 parent 629a35c commit 01d28f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/range-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ function UnforwardedRangeControl(
<ActionRightWrapper>
<Button
className="components-range-control__reset"
// If the RangeControl itself is disabled, the reset button shouldn't be in the tab sequence.
__experimentalIsFocusable={ ! disabled }
disabled={ disabled || value === undefined }
variant="secondary"
size="small"
Expand Down

0 comments on commit 01d28f2

Please sign in to comment.