question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[b-tooltip] Expected HTMLElement, got SVGSVGElement error

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Oct 6, 2019

BootstrapVue v2.0.3 has been released

1reaction
tmorehousecommented, Sep 30, 2019

Should be available in v2.0.3 coming later this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get the error "Received value must be an ...
The issue is that you're trying to use the toBeInTheDocument helper function from @testing-library/jest-dom with React Native code. @testing- ...
Read more >
Tooltip | Components - BootstrapVue
A reference (ref) to a component that has either an HTMLElement or SVGElement as its root element (e.g. this.$refs.refName ); A function (callback)...
Read more >
React Tooltip component - Material UI - MUI
Tooltips display informative text when users hover over, focus on, or tap an element.
Read more >
How To Do the Basics in React Testing Library
In this first code sample, I've entered the minimal props necessary to a valid DropDown using WAI-ARIA Design Patterns. And lastly, we have...
Read more >
HTML Standard
The document element of this tree is the html element, which is the ... There are many more Text nodes in the DOM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found