FormidableLabs / nuka-carousel

Small, fast, and accessibility-first React carousel library with an easily customizable UI and behavior to fit your brand and site.
https://commerce.nearform.com/open-source/nuka-carousel
Other
3.07k stars 595 forks source link

fix: dont prevent default when dragging is disabled on mouse down #862

Closed ValGeorgiev closed 2 years ago

ValGeorgiev commented 2 years ago

Description

Currently if you have content editable fields in the carousel, we are preventing this to work, because we preventing the default of mouse down event. This is done, to enable dragging. In order to have content editable fields, you should disable dragging.

Issue: #730

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nuka-carousel/nuka-carousel/DjnhGFC8qi54jySmmzAo4WxZuBsd
✅ Preview: https://nuka-carousel-git-fix-dont-prevent-default-e936a5-nuka-carousel.vercel.app