Skip to content

Vue generates a warning when using b-overlay with property "no-wrap" #2202

@tbl0605

Description

@tbl0605

Describe the bug

Describe the bug

Hi,
the following code generates a Vue warning in the browser console when using bootstrap-vue-next v0.24.16 and Vue v3.5.6:

    <b-overlay no-wrap>
    </b-overlay>

Reproduction:

[Vue warn]: Extraneous non-props attributes (class, aria-busy) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. 
  at <ConditionalWrapper tag="div" class="b-overlay-wrap position-relative" aria-busy=null  ... > 
  at <BOverlay no-wrap="" > 
  at <App>

Note that I was unable to reproduce the issue using StackBlitz, not sure why.

Reproduction

https://github.com/tbl0605/bug-bootstrap-vue-next

Used Package Manager

pnpm

Validations

  • Have tested with the latest version. This is still alpha version and sometime things change rapidly.
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions