Problem/Motivation

Clicking escape gets rid of the loading animation but there is still an overflow:hidden style on the body that isnt reset.

Steps to reproduce

trigger the loading animation and click escape. Scrolling the page is disabled.

Proposed resolution

remove the overflow:hidden style from the body when the loader is closed.

In fact, there should be an unlockScreen() function that you can call from your own js for other events that should close it as well.

I will try to provide a patch for this.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    loze created an issue. See original summary.

    viren18febs’s picture

    Status: Active » Needs review
    StatusFileSize
    new353 bytes

    Hi @loze
    I have fixed the issue & added a patch file , please review.

    damienmckenna’s picture

    Status: Needs review » Reviewed & tested by the community

    I can confirm that patch #2 fixes the problem, thank you!

    i-trokhanenko’s picture

    Version: 2.0.0 » 2.0.x-dev

    • i-trokhanenko committed b026c90c on 2.0.x
      Issue #3395980 by viren18febs, loze, damienmckenna, i-trokhanenko:...
    i-trokhanenko’s picture

    Status: Reviewed & tested by the community » Fixed

    Thanks!

    Status: Fixed » Closed (fixed)

    Automatically closed - issue fixed for 2 weeks with no activity.