When carousel item contains <form/> with <input type="submit"/> and swipe is enabled when user tries to press on submit button it looks like pushed, saves this state and nothing happens after. Guess, this is because touchstart event is captured for swipe.
When carousel item contains
<form/>
with<input type="submit"/>
and swipe is enabled when user tries to press on submit button it looks like pushed, saves this state and nothing happens after. Guess, this is becausetouchstart
event is captured for swipe.For my case code below solved issue.