Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't work wheel event. I can not page scrolling when mouse wheel up-down #94

Open
hsallabas opened this issue Jul 29, 2018 · 3 comments

Comments

@hsallabas
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ #] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

I want to do page scrolling when mouse wheel up and down. I give wheel event the ScrollToEvent but doesn't work it. thanks for helps

Expected behavior

mouse wheel up and down page scrolling

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z


Your version of `@nicky-lenaers/ngx-scroll-to`:


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@nicky-lenaers
Copy link
Owner

@hsallabas Thank you for your issue. However, this is not enough context for me to work with. Can you provide a Stackblitz example?

@nicky-lenaers
Copy link
Owner

@hsallabas I just came across this issue, which can be helpful for this plugin. I'll implement a fix 👍

@tPiotrChojnacki
Copy link

tPiotrChojnacki commented Sep 25, 2018

@nicky-lenaers
Is there maybe any progress on this issue? For me the 'wheel' event doesn't work either, whereas other events such as 'click' and 'mouseleave' work just fine.

Minimal reproduction of the problem with instructions

<div id="segment-1" [ngx-scroll-to]="'#segment-2'" [ngx-scroll-to-event]="'wheel'" style="width: 300px; height: 300px;"></div>
<div id="segment-2" style="width: 300px; height: 300px;"></div>

Environment

Angular version: 6.1.7

Your version of @nicky-lenaers/ngx-scroll-to: 1.1.1

Browser:

  • Chromium version 65.0.3325.181
  • Firefox version 61.0.1
  • Chrome (desktop) version XX
  • Chrome (Android) version XX
  • Chrome (iOS) version XX
  • Safari (desktop) version XX
  • Safari (iOS) version XX
  • IE version XX
  • Edge version XX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants