-
Notifications
You must be signed in to change notification settings - Fork 772
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
DispatchMouseEvent does not support mouseWheel along one axis #491
Comments
Can we not make DeltaX and DeltaY a pointer instead?
then update encoding to,
and update the DispatchMouseEventParams,
and update decode to,
|
This was referenced Feb 18, 2021
@wtsuench Sorry for the late response! And thank you for reporting this issue! I have a fix for it. Let's track the issue over chromedp/pdlgen#10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What versions are you running?
github.com/chromedp/chromedp
Version 77.0.3865.90
go version go1.12.7 darwin/amd64
What did you do? Include clear steps.
I'm trying to implement the mouseWheel event,
without scrolling along the x-axis
p.WithDeltaX(0)
.What did you expect to see?
MouseWheel event triggered and webpage scrolls to y, without scrolling x.
What did you see instead?
Error
'deltaX' and 'deltaY' are expected for mouseWheel event (-32602)
Confusion?
Can we not scroll y without x?
During the encoding they are ignored, not sure if this is the part causing the error?
The text was updated successfully, but these errors were encountered: