Skip to content

Directive no longer working on wrapper button component #2164

@darthf1

Description

@darthf1

Describe the bug

Since 0.24.10, the v-b-toggle directive no longer works on a wrapper component, which (in this case) wraps the b-button component.

It works if you downgrade to 0.24.9. It also works if you remove the line defineProps<BButtonProps & { title?: string }>(); from MyButton.vue.

Reproduction

https://stackblitz.com/edit/github-5mfqan-cgqxhl?file=src%2FApp.vue

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