Swipe Actions stop Form Input click to edit working; workaround


(Mark Hunte) #1

If you have a form and use Swipe Actions on the same scene, the form’s input fields may not respond to a click into them to become focused to edit. ( Entering text ).

The Swipe Action event will eat up the click actions.

A work around is run the focus() function with an onclick event directly in each input.

Example with the onclick="focus() call.

<form action="demo_form.asp">
  First name: <input type="text" name="fname" onclick="focus()"><br>
  Last name: <input type="text" name="lname" onclick="focus()"><br>
  <input type="submit" value="Submit">
</form>

Example Project showing two forms one with and one without the calls.
FormsWithSwipeAction.hype.zip (56.1 KB)


Swipe on Scene blocks some click actions
(Greg) #2

This is a great tip, Thanks Mark!