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

Scrollbar: respect the initial body overflow value #33706

Merged
merged 2 commits into from Apr 25, 2021

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Apr 20, 2021

Background: First Pr #33245 was to just decoupling scrollbar functionality form modal.js , coping the existing code as it was.

This PR:

  • adds method to handle overflow on body element & tests
  • replace duplicated code on modal|offcanvas tests

@GeoSot GeoSot requested a review from a team as a code owner April 20, 2021 21:59
@GeoSot GeoSot requested a review from alpadev April 20, 2021 22:06
js/src/util/scrollbar.js Outdated Show resolved Hide resolved
@GeoSot GeoSot added the p2 High priority, or is required as a base for other things label Apr 20, 2021
@GeoSot GeoSot force-pushed the gs-scrollbar-proper-handle-of-body-overflow branch from 3b5c604 to 71151d7 Compare April 20, 2021 22:15
js/tests/helpers/fixture.js Outdated Show resolved Hide resolved
js/tests/unit/util/scrollbar.spec.js Show resolved Hide resolved
@GeoSot GeoSot force-pushed the gs-scrollbar-proper-handle-of-body-overflow branch from 71151d7 to 6b73db4 Compare April 20, 2021 23:41
@GeoSot GeoSot requested a review from alpadev April 20, 2021 23:42
@GeoSot GeoSot added this to Inbox in v5.0.1 via automation Apr 22, 2021
v5.0.1 automation moved this from Inbox to Approved Apr 23, 2021
js/tests/unit/modal.spec.js Show resolved Hide resolved
* add method to handle overflow on body element & tests
* replace duplicated code on modal|offcanvas tests
@GeoSot GeoSot force-pushed the gs-scrollbar-proper-handle-of-body-overflow branch from 6b73db4 to 6b7c538 Compare April 23, 2021 18:11
@GeoSot GeoSot removed this from Approved in v5.0.1 Apr 24, 2021
@GeoSot GeoSot added this to Inbox in v5.0.0 via automation Apr 24, 2021
@GeoSot GeoSot moved this from Inbox to Approved in v5.0.0 Apr 24, 2021
@XhmikosR XhmikosR changed the title Scrollbar.js: Scrollbar has to respect initial body overflow value Scrollbar: respect the initial body overflow value Apr 25, 2021
@XhmikosR XhmikosR merged commit d381820 into main Apr 25, 2021
v5.0.0 automation moved this from Approved to Done Apr 25, 2021
@XhmikosR XhmikosR deleted the gs-scrollbar-proper-handle-of-body-overflow branch April 25, 2021 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js p2 High priority, or is required as a base for other things v5
Projects
No open projects
v5.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants