Open sorvell opened 4 years ago
I don't think this is an MWC-specific problem, it looks like an upstream issue with MDC
https://jsbin.com/veyusadafo/edit?html,output
The catalog is an older version. It looks like the transform-origin is no longer work since the line-ripple was changed to use an ::after
pseudo element.
There's also a problem in that we're listening to pointer events on the <input>
, which doesn't cover the full container anymore. MDC should be listening to events on the <label>
host instead.
Describe the bug It does not start at the spot where the input is clicked.
To Reproduce Steps to reproduce the behavior:
Animations
tab to slow down animations to 10%.Expected behavior Line ripple emanates from the clicked spot.
Additional context Compare with https://material-components.github.io/material-components-web-catalog/#/component/text-field