fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
4.91k stars 284 forks source link

Give "Loading more cells..." lots of vertical space so scroll restoration works better on Firefox #2901

Closed fonsp closed 2 months ago

fonsp commented 2 months ago

After this PR, if you refresh a long notebook on firefox, you might just end up at the same scroll position as before the reload. This used to not work because of the "Loading more cells..." mechanism.

github-actions[bot] commented 2 months ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
  julia> Pkg.activate(temp=true)
  julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="Loading-more-cells-scroll-restoration")
  julia> using Pluto