Skip to content

Scrollbar: respect the initial body overflow value#33706

Merged
XhmikosR merged 2 commits into
mainfrom
gs-scrollbar-proper-handle-of-body-overflow
Apr 25, 2021
Merged

Scrollbar: respect the initial body overflow value#33706
XhmikosR merged 2 commits into
mainfrom
gs-scrollbar-proper-handle-of-body-overflow

Conversation

@GeoSot
Copy link
Copy Markdown
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
Comment thread js/src/util/scrollbar.js Outdated
@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
Comment thread js/tests/helpers/fixture.js Outdated
Comment thread js/tests/unit/util/scrollbar.spec.js
@GeoSot GeoSot force-pushed the gs-scrollbar-proper-handle-of-body-overflow branch from 71151d7 to 6b73db4 Compare April 20, 2021 23:41
Comment thread js/tests/unit/modal.spec.js
* 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
@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
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

None yet

Development

Successfully merging this pull request may close these issues.

4 participants