ngx-scroll-to icon indicating copy to clipboard operation
ngx-scroll-to copied to clipboard

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

Open hsallabas opened this issue 7 years ago • 3 comments

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:

hsallabas avatar Jul 29 '18 12:07 hsallabas

@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 avatar Sep 11 '18 15:09 nicky-lenaers

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

nicky-lenaers avatar Sep 11 '18 15:09 nicky-lenaers

@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:

  • [X] Chromium version 65.0.3325.181
  • [X] 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

tPiotrChojnacki avatar Sep 25 '18 11:09 tPiotrChojnacki