locomotivemtl / locomotive-scroll

🛤 Detection of elements in viewport & smooth scrolling with parallax.
https://locomotivemtl.github.io/locomotive-scroll
MIT License
7.97k stars 1.12k forks source link

locomotivescroll stops scrolling when hovering some of elements #500

Open SoulDesignerTom opened 1 year ago

SoulDesignerTom commented 1 year ago

Hello 👋

Describe the bug Everything works well - but sometimes after hovering some elements like animated buttons it's suddenly disables mousewheel scroll on desktop.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://tomb.pl/new/
  2. Start scrolling
  3. Try to hover buttons during scrolling
  4. Keep scrolling
  5. See that sometimes it stops scrolling and you need to hover something again to start.

Expected behavior Scroll should be working all the time regardless what i'm hovering.

Desktop (please complete the following information):

Thank you 👊

SoulDesignerTom commented 1 year ago

Ok, nevermind - i don't know why i putted: pointer-events:none on a wrapper element. This was causing the issue. Issue can be closed.

Thanks