Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal.js: fix test for scrollbar #33666

Merged
merged 2 commits into from
Apr 19, 2021
Merged

Modal.js: fix test for scrollbar #33666

merged 2 commits into from
Apr 19, 2021

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Apr 17, 2021

Change the timing of scrolllbarGetWidth on test

@alpadev
Copy link
Contributor

alpadev commented Apr 17, 2021

Likely better that way. When the modal is shown there is expected to be overflow hidden on the body so getScrollbarWidth would return 0. 👍

@GeoSot GeoSot force-pushed the gs-minor-fix-on-test branch from d0eea47 to cc312ae Compare April 17, 2021 21:16
@GeoSot GeoSot force-pushed the gs-minor-fix-on-test branch from cc312ae to e7d0f54 Compare April 17, 2021 21:31
@GeoSot GeoSot requested a review from alpadev April 17, 2021 21:34
@XhmikosR XhmikosR requested a review from rohit2sharma95 April 18, 2021 06:04
@XhmikosR
Copy link
Member

I rerun the CI jobs a few times and it seems to be passing consistently.

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

Successfully merging this pull request may close these issues.

4 participants