This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
[Scroll Gesture] Track target's position relative to non-window container #148
Unanswered
andsheterliak
asked this question in
Support
Replies: 1 comment 1 reply
-
Yeah this should be possible as you have it. I’d be interested in seeing a sandbox if it’s not working for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Is it possible to track the position of the target relative to the specified container instead of the viewport? For example, I want to create a horizontal slider with multiple slides. And I want to track the entry and exit of each slide relative to the slider instead of viewport.
Demo: https://stackblitz.com/edit/vitejs-vite-kfptsx?file=src%2Findex.ts
Beta Was this translation helpful? Give feedback.
All reactions