At the time of writing, the opt-inclickAllowed() method only return returns true when the user's pointer has not dragged the carousel.
Describe the solution you'd like
Embla should handle this automatically. It will make it convenient for devs to attach click listeners to slides without worrying about click events getting fired when users only drag the carousel.
Feature request is related to
Is your feature request related to an issue?
clickAllowed()
method only return returnstrue
when the user's pointer has not dragged the carousel.Describe the solution you'd like