Skip to content

use getClientRects for IE10+ clientWidth/Height calculation - #96

Open
jonirrings wants to merge 1 commit into
que-etc:masterfrom
jonirrings:master
Open

use getClientRects for IE10+ clientWidth/Height calculation#96
jonirrings wants to merge 1 commit into
que-etc:masterfrom
jonirrings:master

Conversation

@jonirrings

Copy link
Copy Markdown

a quick fix for the bug mentioned in #2

@yoyo837

yoyo837 commented May 11, 2022

Copy link
Copy Markdown

getClientRects does not support in ie8-.

@jonirrings

jonirrings commented May 11, 2022

Copy link
Copy Markdown
Author

@yoyo837 emmm, so let's add an API detection? or just deprecate those before IE11 ?

@jonirrings jonirrings changed the title use getClientRects to replace clientWidth/Height calculation use getClientRects for IE10+ clientWidth/Height calculation May 11, 2022
@yoyo837

yoyo837 commented May 11, 2022

Copy link
Copy Markdown

This is a polyfill, I think it should be an polyfill for all browsers that which version who need it.

@jonirrings

Copy link
Copy Markdown
Author

agreed, old code restored.
new code only works when getClientRects available.

@yoyo837

yoyo837 commented May 11, 2022

Copy link
Copy Markdown

By the way, the maintainer of this repo doesn't seem to be active.

@jonirrings

Copy link
Copy Markdown
Author

sigh……
waiting for him to reply

@ikonan

ikonan commented Jun 14, 2022

Copy link
Copy Markdown

@weswigham

Copy link
Copy Markdown
Contributor

...?

@jonirrings

Copy link
Copy Markdown
Author

@weswigham as stated above, can you help to review this pr?

@weswigham

Copy link
Copy Markdown
Contributor

I'm just someone who contributed a PR once in the past, not a maintainer.

@jonirrings

Copy link
Copy Markdown
Author

@weswigham whatever, thx for your attention.
Waiting for the maintainer ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants