Hi,
I ran into a bug when using Window.
When I scroll the window by animation, the next time I scroll with the mouse, the scrollBar jumps back and is not in the position relative to where we scrolled.
You can see it in the following code:
const w = new Window({ scrollBarDrag: true, padding: 20 }).center();
const t = new Tile(new Circle(20, red), 4, 20, 20, 20);
w.add(t);
setTimeout(() => {
w.animate({ props: { scrollY: -200 }, time: 0.3 });
}, 1000);
It only happens when scrolling with the mouse wheel and not when dragging
Tanks,