scicloj / clay

A tiny Clojure tool for dynamic workflow of data visualization and literate programming
https://scicloj.github.io/clay/
Eclipse Public License 1.0
115 stars 10 forks source link

Cursor/page reset to beginning on 'clay-make...' #118

Open light-matters opened 1 month ago

light-matters commented 1 month ago

This is a (possible) UX feature request; I don't know if it's limited to my browser (firefox 127.0 on manjaro linux).

When using clay-make... commands, the newly rendered page is shown from the beginning, i.e. the browser scrollbar is at 'zero'. This is not a problem for small outputs, but when working with large namespaces and outputs this can create a lot of development friction. Would it be practical to store the scrollbar position before reloading?

daslu commented 1 month ago

A good idea to explore, thanks!