-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
no-wheel form-input bug (unable to preventDefault inside passive event listener) #6531
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
Comments
@monas |
@nick4414 at the moment I just stopped using no-wheel at all. I have taken a quick look into the source (
![]() I am not an expert on using wheel event but it looks little bit strange that this event is caught on document. I would try to use that event on input field itself if that is possible. Now on mouse wheel blurs the input and I think it shouldn't. Unfortunately I am too busy to dig deeper ant test this out :( But I would start here. |
I found a workaround in #1872. Unfortunately it still doesn't really solve the issue with "no-wheel", but works for now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you! |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
If I have an b-form-input and add the property no-wheel to it and I try to scroll when the input is focussed, I get this error in the browser console:
Example code to reproduce the issue is:
<b-form-input placeholder="XXX" type="number" v-model="XXX" no-wheel required/>
Versions
Libraries:
Environment:
The text was updated successfully, but these errors were encountered: