diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListComp.java index 41439a9ce..53b775696 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListComp.java @@ -28,6 +28,12 @@ public class StoreEntryListComp extends SimpleComp { return custom; }, true); + content.apply(struc -> { + // Reset scroll + StoreViewState.get().getActiveCategory().addListener((observable, oldValue, newValue) -> { + struc.get().setVvalue(0); + }); + }); return content.styleClass("store-list-comp"); }