Skip to content

no-wheel form-input bug (unable to preventDefault inside passive event listener) #6531

Closed
@nick4414

Description

@nick4414

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:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
stopEvent @ app.js:52144
stopWheel @ app.js:15778

Example code to reproduce the issue is:

<b-form-input placeholder="XXX" type="number" v-model="XXX" no-wheel required/>

Versions

Libraries:

  • BootstrapVue: 2.21
  • Bootstrap: 4.5.0
  • Vue: 2.6.12

Environment:

  • Device: Laptop
  • OS: Windows
  • Browser: Chrome
  • Version: 89

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions