Skip to content

[b-tooltip] Expected HTMLElement, got SVGSVGElement error #4173

@janswist

Description

@janswist

Describe the bug

[Vue warn]: Invalid prop: type check failed for prop "target". Expected HTMLElement, got SVGSVGElement

Steps to reproduce the bug

font-awesome-icon.align-self-center(
  id="copyReflink"
  :icon="copyIcon"
  style="cursor: pointer; color: #42bff4; font-size: 16px"
  @click="copyLinkToClipboard"
)
b-tooltip(target="copyReflink" placement="top" @hidden="reflinkClicked ? reflinkClicked = false : ''") Copy

Expected behavior

Error shouldn't happen.

Versions

Libraries:

  • BootstrapVue: 2.0.2
  • Bootstrap: 4.3.1
  • Vue: 3.1.1

Environment:

  • Device: MacBook Pro
  • OS: HighSierra
  • Browser: Chrome
  • Version: 76.0.3809.132

Additional context

Didn't happen before. I just updated to vue-cli 3 and got this.

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