Skip to content

Commit

Permalink
Add missing file for scroll controller
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Nov 12, 2024
1 parent 9fc5117 commit ebf48c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions static/to_compile/src/scroll_controller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Controller } from "@hotwired/stimulus"

export default class extends Controller<HTMLElement> {
initialize() {
this.element.scrollIntoView()
}
}

0 comments on commit ebf48c3

Please sign in to comment.