styles in a v-html htmlString are being applied to the whole document
Vue version
3.3.8
Link to minimal reproduction
Steps to reproduce
press open dialog, the "test" will change to red
What is expected?
htmlString style should not be applied outside the v-html div, only to the elements that are in the htmlString.
What is actually happening?
as you can see in the playground, the "test" changes to red color
System Info
Vuetify Version: 3.4.0
Vue Version: 3.3.8
Browsers: Edge 119.0.0.0
OS: Windows 10
Any additional comments?
No response
This is working as expected as styles are global. You can use <style scoped>
in SFCs to apply scoped styles.