Direkt zum Hauptinhalt gehen Switch to English

Blog (Englisch)

Im Blog finden Sie Artikel und Anleitungen rund um alles, was mit dem Erstellen von Webseiten und mobilen Applikationen zu tun hat. Bitte beachten Sie, dass der Blog ausschliesslich in Englisch gehalten ist.

  • iOS/PhoneGap: Prevent scrolling when gesture starts on input element

    When creating an iOS application using PhoneGap, I usually try to mimic the behavior of a native application as close as possible. One of the most important thing is to disable the scrolling of the body in the browser window, if the body isn’t bigger than the viewport. Unfortunately, the standard way of preventing scrolling does not work when the touch gesture starts on an input or textarea element. Click on “Read more…” to read about a partial solution that I came up with!

English version