Open
Description
Describe the bug
Using the no-wheel
attribute on a b-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 to https://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 to https://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
See https://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 option passive: false
here:
Metadata
Metadata
Assignees
Labels
No labels