Skip to content

Inline plugin - unable to scroll the page with mouse wheel in desktop Safari #255

Answered by igordanchenko
Andr3wTayl0r asked this question in Q&A
Discussion options

You must be logged in to vote

Wow, this is quite a peculiar quirk in Safari. The bug reproduces only when all of the following conditions are met:

  1. the element has overflow: hidden
  2. the element has overscroll-behavior: contain
  3. the element has a non-passive wheel event listener
element.addEventListener("wheel", () => {}, { passive: false })

I highly doubt it's reasonable to file this bug with WebKit, as it may take a decade for someone to investigate it.

Anyway, I'll update the Inline plugin and set overscroll-behavior-y to auto. It should address the issue. I'll release the fix later today.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Andr3wTayl0r
Comment options

@igordanchenko
Comment options

@igordanchenko
Comment options

Answer selected by Andr3wTayl0r
@Andr3wTayl0r
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants