Using Iconify Vue3 Icon Component in inline element causes inline elements content to render twice
See original GitHub issueWhen i use any iconify icon via its vue component within an <a>
tag it causes the rest of the <a>
tags content to render twice:
Usage:
<a :href="'mailto:' + footer?.email">
<Icon icon="ic:outline-email" :inline="true"></Icon>
<span>{{ footer?.email }}</span>
</a>
Result:
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (12 by maintainers)
Top Results From Across the Web
Inline Icons in Iconify for Vue
This tutorial is part of Iconify for Vue tutorial. Icons have 2 modes: inline and block. Difference between modes is vertical-align that is...
Read more >Building a button component - web.dev
In this post I want to share my thoughts on how to build a color-adaptive, responsive, and accessible <button> element.
Read more >Vue.js 3 Complete Guide - Level Up Coding
The text template is created using two nested curly brackets. It is known as the mustache tag. It creates a scope where Vue...
Read more >Table | Components - BootstrapVue
For displaying tabular data. supports pagination, filtering, sorting, custom rendering, events, and asynchronous data. For simple display of tabular data ...
Read more >5 Gotchas You're Gonna Face Getting Inline SVG Into ...
Rob is a Senior UI/UX Developer at Mavenlink, and coauthor of the Unicorn UI CSS Button Library. Their 2.0 release is using an...
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
Published stable version
3.1.4
, which fixes this issue. Also fixed similar issue in Vue 2 component.This isn’t a Nuxt bug. Changing the component state before mounting will trigger a hydration error on any server-rendered app: https://stackblitz.com/edit/vitejs-vite-ahtqpq