Vibration on scroll
See original GitHub issueFeature Request
Add support for Vibration
in react-native. Maybe we could use Vibration
api to add simple vibrations inside the carousel to give users haptic feedback when scrolling.
Each scrolled item triggers a small vibration.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How To Stop Scroll Saw Vibration? - Make from Wood
Your scroll saw should be a joy to use. It should be stable and, while it's impossible to remove vibration completely, it shouldn't...
Read more >Vibrating screen on scroll using transform: scale
The scale animation is vibrating because you're triggering a translation on each scroll event. Think about it like this: user scrolls; zoom_out ...
Read more >Disabling vibration on end of scroll? : r/PocoPhones - Reddit
It might sound like a small thing but it's highly annoying for me - whenever I get to the bottom of a menu...
Read more >Haptics when scrolling | Apple Developer Forums
I am working on an app that will post listings and content similar to Ebay or pinterest. As the user scrolls down through...
Read more >Screen vibrating/shaking/scrolling up and down
The image on my screen is vibrating/shaking/scrolling up and down very quickly about 1 mm. It's the whole image (including the taskbar) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I managed to get it working using the public
currentIndex
-property. Use theonScroll
-prop to check thecurrentIndex
and in case of change: vibrate.Performance-wise it would probably be better to have a callback-prop on the Carousel which is called on
currentIndex
-change.Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2