summernote / summernote

Super simple WYSIWYG editor
https://summernote.org
MIT License
11.58k stars 2.25k forks source link

Toolbar Problems after reload #3406

Closed mwdnr closed 5 years ago

mwdnr commented 5 years ago

If you reload the page during the toolbar is over the viewable area, the toolbar is fixed to the top of the website. If I scoll up or down, the toolbar does not move anymore. Bildschirmfoto 2019-09-19 um 19 24 54

DennisSuitters commented 5 years ago

It would be helpful to us to diagnose the issue if you answered some of the questions in the issue template when you created the issue. I tried what I could tell from your meager explanation in Firefox/Chrome/Opera in Linux Mint several times and couldn't replicate what your image represents.

mwdnr commented 5 years ago

Thank you for your advice. As you can see, I'm a newbie here… I hope I collected all information you need, otherwise feel free to ask again.

steps to reproduce (Add more if necessary):

  1. Scroll down until toolbar is not in the viewable area of the window

  2. reload 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: MacOS X 10.14.6

  2. Browser and Version: Firefox 69.0 (64 Bit)

  3. Summernote Version: 0.8.12

  4. Bootstrap Version or Lite: summernote-bs4.js

screenshot of issue

summernote-1.mov.zip summernote-2.mov.zip

DennisSuitters commented 5 years ago

Ok, I'm seeing this issue now. For some reason style="position:fixed;top:0px;width:998px;" is being appended to the toolbar div element when the toolbar isn't within the visible page fold. @hackerwins @lqez @easylogic if any of you have time to look at this issue, I'm a little busy atm, other than to answer questions, thanks. If I get a chance I'll have a look.

lqez commented 5 years ago

Closed by #3457