material-components / material-components-web

Modular and customizable Material Design UI components for the web
https://material.io/develop/web
MIT License
17.13k stars 2.15k forks source link

[mdc-slider] value updates unexpectedly if using right mouse button #5019

Open devversion opened 5 years ago

devversion commented 5 years ago

Bug report

Steps to reproduce

  1. Go to 'https://material-components.github.io/material-components-web-catalog/#/component/slider
  2. Click on the slider with right mouse

Actual behavior

Slider value changes.

Expected behavior

Value does not change. Similarly to native range sliders it's not expected that the right mouse button can be used to drag/change the slider value.

Software Version(s)
MDC Web ^4.0.0-alpha.0
Browser Chrome
Operating System Windows

Related to https://github.com/angular/components/pull/16795

wagnermaciel commented 3 years ago

+1 to this. The same behavior happens with the new mdc slider.