Skip to content

Commit 6986bba

Browse files
committed
refactor: Address PR review comments
1 parent 5e9d204 commit 6986bba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/date-picker/date-picker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export default class IgcDatePickerComponent extends FormAssociatedRequiredMixin(
534534
}
535535
}
536536

537-
protected handlerCalendarIconSlotPointerDown(event: PointerEvent) {
537+
protected _handlerCalendarIconSlotPointerDown(event: PointerEvent) {
538538
// This is where the delegateFocus of the underlying input is a chore.
539539
// If we have a required validator we don't want the input to enter an invalid
540540
// state right off the bat when opening the picker which will happen since focus is transferred to the calendar element.
@@ -686,7 +686,7 @@ export default class IgcDatePickerComponent extends FormAssociatedRequiredMixin(
686686
<span
687687
slot="prefix"
688688
part=${state}
689-
@pointerdown=${this.handlerCalendarIconSlotPointerDown}
689+
@pointerdown=${this._handlerCalendarIconSlotPointerDown}
690690
@click=${this.readOnly ? nothing : this.handleAnchorClick}
691691
>
692692
<slot name=${state}>${defaultIcon}</slot>

0 commit comments

Comments
 (0)