WSDOT-GIS / bridge-clearance-app

An application that provides bridge clearance information
The Unlicense
2 stars 0 forks source link

Cannot enter vehicle height in OS X Safari, or iOS Chrome or Safari #58

Closed JeffJacobson closed 6 years ago

JeffJacobson commented 9 years ago

via Feedback form

Entering vehicle height did not work from both Chrome & safari on an ipad ios6. Numbers were entered but did not register or appear and were not recognized by the tool.

JeffJacobson commented 9 years ago

Issue was caused by the keypress event handler looking for either the key or keyIdentifier properties on the event object. For some reason neither of these are present in iOS or OS X.

I modified the event handler to check for the presence of one of these properties before proceeding.

So iOS and OS X can now enter numbers, but non-numeric characters can also be entered.