Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Open
Description
Describe the bug
Using theno-wheel
attribute on ab-form-input
component logs an error to the console when scrolling in the input. See the stale issue here:#6531
Steps to reproduce the bug
- Go tohttps://jsfiddle.net/7h6fk14u/3/
- Open your browser console.
- Click on the number input.
- Scroll
- See error in console:
Link in error:https://chromestatus.com/feature/6662647093133312
Expected behavior
No error.
Versions
Libraries:
- BootstrapVue: 2.23.0
- Bootstrap: 4.6.1
- Vue: 2.6.12 (also present in Vue 3)
Environment:
- Browser: Anything other than Safari and IE according tohttps://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners
Demo link
https://jsfiddle.net/7h6fk14u/3/
Additional context
Seehttps://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners. I suspect this can be fixed by explicitly passing the optionpassive: false
here:
eventOn(document,'wheel',this.stopWheel) |
Metadata
Metadata
Assignees
Labels
No labels