Es ist wirklich schwierig, genau zu bestimmen, wie weit man scrollen muss, um das Ende des Dropdown-Menüs zu erreichen. Was meist passiert, ist, dass ich zu weit scrollen und der Hauptinhalt beginnt, sich zu bewegen.
Ich habe überlegt, ob wir das Scrollen auf dem Hauptinhalt deaktivieren möchten, wenn das Dropdown-Menü aktiv ist, oder zumindest, wenn sich die Maus über dem Dropdown-Menü befindet.
This is more obvious on iPhone and Android mobile devices.
And separately:
I’ve even seen some iPhone devices scroll the page randomly even though not at the bottom or top of the menu scroll - but this was with some site customisations.
I believe this problem might have been mentioned in this Gotcha video by Paul @ 2m15s from back in January:
It starts with “Did you know you can’t stop the body from scrolling?”…
… he mentions there is something coming along the pipeline in “spec land” - but there is now way currently of controlling it.
Obviously - there might be something now because that was 6 months ago.
P.S. other parts of the video are interesting too, worth a watch