Skip to content

Commit 9b8c02e

Browse files
anveshmekalabenelan
authored andcommitted
fix(input-date-picker): allow navigating between months using chevron actions in Safari (#11547)
**Related Issue:** #11544 ## Summary No longer closes the `input-date-picker` when navigating between month using chevron actions.
1 parent 4e421b7 commit 9b8c02e

File tree

1 file changed

+2
-0
lines changed
  • packages/calcite-components/src/components/action

1 file changed

+2
-0
lines changed

packages/calcite-components/src/components/action/action.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ export class Action extends LitElement implements InteractiveComponent, Loadable
308308
disabled={disabled}
309309
id={buttonId}
310310
ref={this.buttonEl}
311+
// tabIndex is required for the button to be focusable on click in safari.
312+
tabIndex={disabled ? null : 0}
311313
>
312314
{buttonContent}
313315
</button>

0 commit comments

Comments
 (0)