You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cpboyd - you're correct. These shouldn't have changed. I caught a few cases, but missed these. Would you mind fixing? Otherwise we will try to prioritize for future release. Thanks!
I've noticed that v.0.12 uses
new ClientRect()
in some places...Well, I've been attempting to implement
mdc-slider
in React, and tried returning anew ClientRect()
and got aClientRect is not defined
error.Googling took me to: microsoft/TypeScript#18615
It seems that while TypeScript's typings still have
ClientRect
, Chrome has replaced it withDOMRect
.Further,
DOMRect
itself is experimental according to MDN: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectI'm not sure if these are getting properly polyfilled by Webpack and Babel either.
Was there a specific reason to switch from the explicit
{ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }
tonew ClientRect()
?The text was updated successfully, but these errors were encountered: