Skip to content

Scrolling issue in backend pages | bouncing up and down #22392

Open
@ioweb-gr

Description

@ioweb-gr

Preconditions (*)

  1. Magento 2.3.x
  2. A backend edit page that fits the window height exactly and has buttons on top for actions like "Save" "Delete".

Summary (*)

This is very hard to reproduce on an environment but I've seen it happening in category edit page, product edit page and a lot of other module pages in all versions of Magento from 2.2.4 to 2.3.1.
There is probably a script that's preventing users from scrolling up when the whole document form can be seen in the current window so when you scroll up you're returned to the same point you were in the screen although the scrollbar still exists.
In rare occassions, when the sticky header appears, the size of the document of the document is altered and it causing an infinite bouncing effect.
Since it's very hard to describe I decided to capture it on a video and attaching it here. If someone can help me out on how to replicate it every time I would appreciate it so that I can write detailed steps.

Steps to reproduce (*)

  1. On a clean firefox install right click on top window bar and enable Menu bar and Bookmarks toolbar. Firefox normal not developer preview.
  2. Open responsive design tool
  3. Set dimensions to 1920x926px
  4. Windows taskbar on the bottom
  5. Navigate to catalog -> category
  6. Open the first category
  7. Expand schedule design update
  8. Scroll to the bottom and then up.

Expected result (*)

  1. User is able to scroll up and down normally

Actual result (*)

  1. In one occassion I'm unable to scroll up and returned to my original scroll point.
    2019-04-17_19-54-23
    The problem stops immediately when I expand one tab.

  2. In worst case scenario the page bounces until I have to reload the page.
    2019-04-17_19-55-25

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.3.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions