Il est vraiment difficile d’être précis quant à la quantité de défilement nécessaire pour atteindre la fin du menu déroulant. Ce qui se produit généralement, c’est que je dépasse la limite et que le corps principal commence à défiler.
Je me demandais si nous ne devrions pas désactiver le défilement du corps principal lorsque le menu déroulant est actif, ou du moins lorsque la souris survole le menu déroulant.
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