Skip to content

Commit

Permalink
fix(core): fix broken tab navigation in new datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed Apr 22, 2024
1 parent c29ed02 commit 118f1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/cat-date-inline/cat-date-inline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class CatDateInline {
if (this.focusDate) {
// re-focus the previously focused date after re-render
this.hostElement.shadowRoot
?.querySelector<HTMLCatButtonElement>(`[data-date="${this.locale.toLocalStr(this.focusDate)}"]`)
?.querySelector<HTMLCatButtonElement>(`[data-date="${this.locale.toLocalISO(this.focusDate)}"]`)
?.doFocus();
this.focusDate = null;
}
Expand Down

0 comments on commit 118f1ce

Please sign in to comment.