Internet Explorer bug: Broken mouse wheel scrolling

One of the things I encountered today was a problem with scrolling some part of a website with the mouse wheel. It worked fine in Firefox and Opera but Internet Explorer refused to scroll correctly. The content I was trying to scroll within was a div tag, which was configured with the CSS property "overflow: auto".

After doing some testing I discovered that the mouse wheel scrolling would only work when the mouse cursor was hovering the text in the div tag. When the mouse cursor was hovering just some white space above or below a paragraph the scroll wheel refused to work.

At first I thought this issue was caused by Opens external link in new windowFleXscroll which is a piece of javascript which I use to customize the design of scrollbars, but after disabling FleXscroll the issue remained and after doing some more testing I discovered that this bug would only occur when the page was rendered in standards-compliant-mode. After removing the DOCTYPE and thus triggering quirks-mode, the bug was gone and everything worked fine except that my page looked like shit since everyone knows quirks-mode is the root of all evil.

So I put the DOCTYPE back in and tried to figure out some other way to fix this issue. Since the scrolling would only work when the cursor was hovering some text I thought that maybe it just needs to hover something, even if that something looks like nothing (you're thinking: what?!), so I added "background: #ffffff" to the style of the div tag and guess what? Problem solved.

Checkout this page demonstrating the bug which contains to similar content items, the only difference is the background property. If you use Internet Explorer you will notice that you cannot scroll one of the items with the mouse wheel unless your mouse cursor is over some part of the text.

This bug occurs in Internet Explorer 7 and possibly lower versions too.

Why!!! Internet Explorer why!!!

221 Responses to “Internet Explorer bug: Broken mouse wheel scrolling”

  1. Gravatar: Tina Tina Says:

    Man you don't even know how long I've waited for this since disabling my own Movable Type widget (that doesn't work since Haloscan bypasses that code).

    THANK YOU!

  2. Gravatar: brightest tactical flashl brightest tactical flashl Says:

    Find here the brightest Cree led Flashlight now available plus on sale now!

  3. Gravatar: best flashlight best flashlight Says:

    See the brightest cree led tactical flashlight that is available and currently on sale now!

  4. Gravatar: school pa system school pa system Says:

    Find the greatest wireless pa system for schools currently now in stock plus on sale now!

  5. Gravatar: best flash light best flash light Says:

    Find here the top brightest tactical flashlight now now in stock plus on sale now!

  6. Gravatar: wireless public address s wireless public address s Says:

    Find the top school bell scheduling systems currently available plus on sale now!

  7. Gravatar: wireless pa system wireless pa system Says:

    Find the top wireless buzzer alarm that's in stock plus currently on sale now!

  8. Gravatar: pa speakers pa speakers Says:

    See the greatest school bell systems that's in stock and currently on sale now!

  9. Gravatar: outdoor fire pit replacem outdoor fire pit replacem Says:

    Get top quality crossfire brass burners that are available and currently available today!

  10. Gravatar: warming trends crossfire warming trends crossfire Says:

    Find here the best View More that's in stock plus on sale today!

  11. Gravatar: clock kits clock kits Says:

    Find the best available clockdials that's available plus on sale you can get now!

  12. Gravatar: Unique Furniture Unique Furniture Says:

    Find the greatest new Handcrafted Furniture that are in stock in addition on sale you can get now!

  13. Gravatar: yerba mate side effects yerba mate side effects Says:

    Find here the hottest yerba mate gourd that's available now and currently available. Get it now!

  14. Gravatar: ceramic logs for outdoor ceramic logs for outdoor Says:

    Find top Montana Fire Pit currently available and currently available today!

  15. Gravatar: Fire pit natural gas burn Fire pit natural gas burn Says:

    See top Natural gas fire pit burners that are in stock plus currently available today!

  16. Gravatar: cabinets cabinets Says:

    Find the brightest new Dumonds kitchen island now in stock plus on sale you can get now!

  17. Gravatar: warming trends crossfire warming trends crossfire Says:

    Get top See More that's now in stock and on sale today!

  18. Gravatar: montana fire pits montana fire pits Says:

    See the best outdoor fire pit logs currently now in stock plus on sale today!

  19. Gravatar: Custom Desk Custom Desk Says:

    Find the top new cabinets that's available plus on sale you can get now!

  20. Gravatar: Walnut Dining Tables Walnut Dining Tables Says:

    See the brightest available Rustic Dining Table currently now in stock in addition currently on sale you can get now!

  21. Gravatar: Montana Firepit Montana Firepit Says:

    Find professional Warming trends fire pits that are now in stock plus on sale today!

  22. Gravatar: Wood Slab Desk Wood Slab Desk Says:

    Find the brightest new Live Edge Table that's in stock and currently on sale you can get now!

  23. Gravatar: diy gas fire pit burner diy gas fire pit burner Says:

    Find here top quality propane fire pit burner that are available and on sale today!

  24. Gravatar: gas fire pit burners gas fire pit burners Says:

    Get professional Montana Fire Pits that's now in stock and currently available today!

  25. Gravatar: See More See More Says:

    Find professional Montana Fire Pits that are now in stock and currently available today!

  26. Gravatar: tenant improvements const tenant improvements const Says:

    See top quality erectors that's in stock plus on sale today!

  27. Gravatar: warming trends gas burner warming trends gas burner Says:

    Find here professional propane fire pit control valve that are available plus on sale today!

  28. Gravatar: additional hints additional hints Says:

    Find the brightest option for Unique Furniture now now in stock and on sale you can get now!

  29. Gravatar: View More View More Says:

    Get professional outdoor gas fire pit kit that's now in stock plus currently available today!

  30. Gravatar: how to make yerba mate wi how to make yerba mate wi Says:

    Get top yerba mate caffeine currently available and currently available. Get it now!

  31. Gravatar: aa battery clock movement aa battery clock movement Says:

    Find here the top available clock parts for crafts that's in stock plus currently on sale you can get now!

  32. Gravatar: Log Furniture Log Furniture Says:

    Find the greatest option for Dumonds that's now in stock plus on sale you can get now!

  33. Gravatar: yerba mate caffeine yerba mate caffeine Says:

    Find here most popular how much yerba mate per cup that's available now in addition on sale. Get it now!

  34. Gravatar: Warming trends fire pit Warming trends fire pit Says:

    Find the best ceramic logs for outdoor fire pit that are in stock and currently available today!

  35. Gravatar: gas fire pit burners gas fire pit burners Says:

    Find top fire pit tray that's available and currently available today!

  36. Gravatar: wireless synchronized clo wireless synchronized clo Says:

    Find the best wireless buzzer system suppliers that's in stock plus on sale today!

  37. Gravatar: clock kit manufacturer clock kit manufacturer Says:

    Find here the brightest available clock kit parts currently available and currently on sale you can get now!

  38. Gravatar: check here check here Says:

    Find here the best available Live Edge Table Legs that are now in stock plus currently on sale you can get now!

  39. Gravatar: school p a system school p a system Says:

    See top quality School bell system that are in stock and currently available today!

  40. Gravatar: warming trendscrossfire b warming trendscrossfire b Says:

    Get professional montana fire pits currently in stock and currently available today!

  41. Gravatar: school bell systems school bell systems Says:

    See top wireless pa system for schools currently available and on sale today!

  42. Gravatar: Steel Buildings Steel Buildings Says:

    See the best general contractor services that's in stock plus on sale today!

  43. Gravatar: school p a system school p a system Says:

    See professional wireless pa speakers currently now in stock and currently available today!

  44. Gravatar: wireless pa system wireless pa system Says:

    Find professional School bell system currently in stock and currently available today!

  45. Gravatar: steel building erectors steel building erectors Says:

    Click now for professional steel building erectors that's in stock plus on sale now!

  46. Gravatar: design build firms design build firms Says:

    Click now for the best facility construction that's now in stock and on sale now!

  47. Gravatar: help with importing from help with importing from Says:

    Find top sourcing consultant that are now in stock plus on sale today!

  48. Gravatar: clock hands kit clock hands kit Says:

    Find the brightest option for battery operated quartz clock movements that's available and currently on sale you can get now!

  49. Gravatar: Click Link Click Link Says:

    Find the best school pa system that's now in stock and currently available today!

  50. Gravatar: prefabricated metal build prefabricated metal build Says:

    Click now for the best building erectors that are available plus on sale now!

Leave a Reply

remember my information