Feat: Mobile Settings menu with preserve scroll + scroll on connect #2278
Reference in New Issue
Block a user
Delete Branch "feat/scroll-on-settings-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here is a quick video:
https://github.com/user-attachments/assets/a7075c75-0721-4c6b-aaba-15df8838cc3c
scroll_on_connect_controllerare meant to be generic, could be reused to scroll any scrollable content passing a css selector argumentpreserve_scroll_controllerhandles horizontal and vertical, meant to be re-usable toobugbot run
Nice touches!
@@ -0,0 +1,41 @@import { Controller } from "@hotwired/stimulus"