Skip to content

Commit

Permalink
fix(input-date-picker): allow navigating between months using chevron…
Browse files Browse the repository at this point in the history
… actions in Safari (#11547)

**Related Issue:** #11544 

## Summary

No longer closes the `input-date-picker` when navigating between month
using chevron actions.
  • Loading branch information
anveshmekala authored Feb 14, 2025
1 parent 923e818 commit e248837
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/calcite-components/src/components/action/action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ export class Action extends LitElement implements InteractiveComponent {
disabled={disabled}
id={buttonId}
ref={this.buttonEl}
// tabIndex is required for the button to be focusable on click in safari.
tabIndex={disabled ? null : 0}
>
{buttonContent}
</button>
Expand Down

0 comments on commit e248837

Please sign in to comment.