We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffddf3 commit 12ec7f4Copy full SHA for 12ec7f4
src/modules/datepicker/components/datepicker.ts
@@ -1,4 +1,4 @@
1
-import { Component, HostBinding } from "@angular/core";
+import { Component, HostBinding, HostListener } from "@angular/core";
2
import { CalendarService } from "./../services/calendar.service";
3
import { DatetimeConfig } from "../classes/calendar-config";
4
import { SuiLocalizationService } from "../../../behaviors/localization/index";
@@ -43,4 +43,9 @@ export class SuiDatepicker {
43
44
this._calendarClasses = true;
45
}
46
+
47
+ @HostListener("mousedown", ["$event"])
48
+ public onMouseDown(e:MouseEvent):void {
49
+ e.preventDefault();
50
+ }
51
0 commit comments