Skip to content

Site front-end breaks when previewing published and resizing window #6841

@petrklus

Description

@petrklus

Description

When after publishing a page with the structure mode open on desktop, front-end interferes with scroll after window resize (scroll is locked).

Steps to reproduce

  1. Edit page
  2. Press "publish" with the structure mode open on desktop / switch to "view published" mode with the structure mode open
  3. Resize window below 1025px, and &structure is appended to the URL and scroll is locked
  4. Also, when reloading page, it loads in a broken mode when the structure mode is dismissed

Expected behaviour

Normal page behaviour when window is resized.

Actual behaviour

Scroll is locked and reload is not an easy fix either due to the added URL parameter.

Additional information

Reproduced on a clean CMS install at https://cms-editor-bug-testing-stage.us.aldryn.io/en/ (on the Divio platfrom).

Screen recording of the behaviour can be found here: https://www.youtube.com/watch?v=kx17U5eGeeo&feature=youtu.be

Tested on Google Chrome v80 on Mac OS 10.15.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions