Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.6.9] v-icon doesn't display "icon" when slot is filled (regression from 3.0.0 beta 5) #20021

Closed
GreyXor opened this issue Jun 17, 2024 · 1 comment

Comments

@GreyXor
Copy link

GreyXor commented Jun 17, 2024

Environment

Vuetify Version: 3.6.9
Last working version: 3.0.0-beta.4
Vue Version: 3.4.29
Browsers: Firefox 129.0
OS: Linux x86_64

Steps to reproduce

Create an empty v-btn. Populate the icon prop. An icon-button should appear
Add a comment or an empty . The icon disappears, but the button remains.

Expected Behavior

Icon remains

Actual Behavior

Icon disappears

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

This is mostly annoying when using an icon-button to activate a v-dialog. The modal sits inside the button, but there's no actual "content" in the slot, which I assume tells the component to not utilize the icon anymore.

I can see this not being a bug, just unintended but technically correct behavior.

used to work in Vuetify 3.0.0 beta 4

@GreyXor
Copy link
Author

GreyXor commented Jun 17, 2024

#17807 is closed without any reason. So I had to open a new one.

@GreyXor GreyXor changed the title [Bug Report][3.6.9] v-icon doesn't display "icon" when slot is filled (regression from 3.0.0 beta 4 Jun 17, 2024
@GreyXor GreyXor changed the title [Bug Report][3.6.9] v-icon doesn't display "icon" when slot is filled (regression from 3.0.0 beta 4) Jun 17, 2024
@GreyXor GreyXor closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant