summernote: Destroy don't reset overflow properties set by fullscreen toggle

Description of your Issue or Request:

Calling $(‘..’).summernote(‘destroy’); don’t reset body and html property overflow: hidden back to deafault value when on fullscreen. This way we are unable to scroll the page after using browser’s back button when using SPA frameworks or libraries.

Steps to reproduce (Add more if necessary):

  1. Navigate to the page with summernote editor embedded

  2. Toggle fullscreen

  3. Click browsers back button

  4. Try to scroll the page

What is your Operating System, Browser and Version and Summernote Version you are using:

This can help find and resolve any issues.

  1. Operating System: Linux Manjaro 19.0.2

  2. Browser and Version: Google Chrome 80.0.3987.132 (64bit)

  3. Summernote Version (including which BS3, BS4, Lite or All): 0.8.16 All

  4. Framework: Angular 5.2.0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 24 (13 by maintainers)

Most upvoted comments

I was unable to reproduce your issue, so I am hoping with recent changes to the styling and other updates, one or more has resolved your issue.