resize-observer-polyfill
resize-observer-polyfill copied to clipboard
use getClientRects for IE10+ clientWidth/Height calculation
a quick fix for the bug mentioned in https://github.com/que-etc/resize-observer-polyfill/issues/2
getClientRects
does not support in ie8-.
@yoyo837 emmm, so let's add an API detection? or just deprecate those before IE11 ?
This is a polyfill, I think it should be an polyfill for all browsers that which version who need it.
agreed, old code restored.
new code only works when getClientRects
available.
By the way, the maintainer of this repo doesn't seem to be active.
sigh…… waiting for him to reply
@que-etc @TrySound @hashplus @weswigham
...?
@weswigham as stated above, can you help to review this pr?
I'm just someone who contributed a PR once in the past, not a maintainer.
@weswigham whatever, thx for your attention. Waiting for the maintainer ....