[b-tooltip] Expected HTMLElement, got SVGSVGElement error
See original GitHub issueDescribe 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:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
BootstrapVue v2.0.3 has been released
Should be available in v2.0.3 coming later this week.