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
3k stars 596 forks source link

Unable to interact with slides with content on them because of `inert="false"` #999

Closed allypalanzi closed 1 year ago

allypalanzi commented 1 year ago

Bugs and Questions

Prerequisites

Describe Your Environment

Describe the Problem

When slides have interactive content on them, users are unable to click anything because inert is on all slides. inert="false" is invalid, i believe, it needs to not have any value for inert in order to remove that parameter.

Expected behavior:

Slides should be able to have links/buttons/interactive elements on them

Actual behavior

Slides are not able to be interacted with

Additional Information

Code sandbox: https://codesandbox.io/s/mystifying-tereshkova-1z47si?file=/src/App.js

imaksp commented 1 year ago

yes it works with 5.4.1, broken with 5.5.

alexjs-dev commented 1 year ago

I confirm. Slides are not clickable, all hover effects are broken too.