Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(position): correct scrollbar width calculations #6273

Closed

Conversation

JuliaUsanova
Copy link
Contributor

No description provided.

@JuliaUsanova
Copy link
Contributor Author

Here is the link to source with bug, scrollbarWidth requires only 1 parameter 'isBody', scrollbarWidth method.

As a result the first argument in scrollbarWidth is object, so the condition always passes.

@RobJacobs, please check the improvement, because current behavior causes other plugins which track content width change to fire unnecessary events and even break layout.

@wesleycho
Copy link
Contributor

This fix looks correct to me.

@RobJacobs
Copy link
Contributor

LGTM

@wesleycho wesleycho closed this in 58f1813 Oct 10, 2016
@wesleycho wesleycho added this to the 2.2.0 milestone Oct 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants