taataa / tapspace

Zoomable user interface library for web apps.
https://taataa.github.io/tapspace/
MIT License
58 stars 8 forks source link

Add Touchable.stopPropagation flag #132

Open axelpale opened 5 years ago

axelpale commented 5 years ago

If SpaceHTML contains file input, and the same time an ancestor element is Touchable with preventDefault=true, then tapping on the file input will prevent opening the file dialog.

A solution is a stopPropagation flag that explicitly keeps the event within the SpaceHTML but does not prevent the file input or other default browser behavior.