Skip to content

Commit 2fcb5b6

Browse files
committed
fixup! fix(material-experimental/mdc-slider): sync ui on mouseenter
1 parent 5abedde commit 2fcb5b6

File tree

1 file changed

+7
-2
lines changed
  • src/material-experimental/mdc-slider

1 file changed

+7
-2
lines changed

src/material-experimental/mdc-slider/slider.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,15 @@ export class MatSlider extends _MatSliderMixinBase
626626
/** The display value of the end thumb. */
627627
_endValueIndicatorText: string;
628628

629-
/** Whether the browser supports pointer events. */
629+
/**
630+
* Whether the browser supports pointer events.
631+
*
632+
* We exclude iOS to mirror the MDC Foundation. The MDC Foundation cannot use pointer events on
633+
* iOS because of this open bug - https://bugs.webkit.org/show_bug.cgi?id=220196.
634+
*/
630635
private _SUPPORTS_POINTER_EVENTS = typeof PointerEvent !== 'undefined'
631636
&& !!PointerEvent
632-
&& !this._platform.IOS; // We exclude iOS to mirror the MDC Foundation
637+
&& !this._platform.IOS;
633638

634639
/** Subscription to changes to the directionality (LTR / RTL) context for the application. */
635640
private _dirChangeSubscription: Subscription;

0 commit comments

Comments
 (0)