Skip to content

Conversation

f0x11
Copy link

@f0x11 f0x11 commented Apr 24, 2019

While outerWidth() only gets integer, the new width may be smaller than the true width.

I add 1 to solve the problem temporarily.

While outerWidth() only gets integer, the new width may be smaller than the true width.
@f0x11
Copy link
Author

f0x11 commented Apr 24, 2019

Maybe using computed style is better.

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.

1 participant