I'm creating an app with humbleUI's vscrollbar , making a big vertical list of elements.
Scrolling down the list works fine, until I update my UI state atom in any way and request a new frame with humbleui.window/request-frame . At that point my vscrollbar jumps back up to the top.
Intuitively this makes sense since I'm re-rendering a blank page from the root.
My question: Are there code examples which use vscrollbar and keep track of some Y offset so that they can make state changes while keeping the vscroll state the same?
Thatโs the whole reason why we are integrating vdom. To keep the component state. Soon to be merged into main
ok, I was going to ask if I should wait for vdom ๐ Thanks, Niki