CodeWringer / strive-foundryVTT

STRIVE system for FoundryVTT
GNU General Public License v3.0
1 stars 0 forks source link

Preserve scroll value after sheet re-render #244

Closed CodeWringer closed 1 year ago

CodeWringer commented 1 year ago

Currently, whenever a sheet is re-rendered, its scroll bar value is reset to 0, meaning the view is back at the top of the document. This is irritating as it forces users to constantly manually scroll back to where they were editing an item.

Instead, the last scroll value should be preserved and re-applied after the last re-render.