vtex-apps/search-result

Page scrollable when accordionFilters is open

Closed this issue · 1 comments

Describe the bug
On the search page, Mobile device, when you click on "filter", the drawer with the filters appears. It adds the class "overflow-hidden-ns" to the body (which is correct) but the class is not defined. Because of this, you can scroll the page when the filter drawer is open, but you cannot scroll the filters.

To Reproduce
Steps to reproduce the behavior:

  1. Go to category page (mobile)
  2. Click on "filter"
  3. Try to scroll the filter area

Expected behavior
Class overflow-hidden-ns should be defined with overflow:hidden and height 100vh to prevent the page scroll while the filters are visible

Screenshots
image

Press filter while on mobile in this workspace: https://develop--dacris.myvtex.com/articole-de-birou/organizare-si-arhivare/bibliorafturi

Closed, was unable to reproduce on the latest version.

Screen.Recording.2021-03-31.at.14.52.31.mov