Skip to content
New issue

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

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

Already on GitHub? # to your account

vfb-clr-picker included in DOM globally #108

Open
matthiasPOE opened this issue Feb 14, 2025 · 0 comments
Open

vfb-clr-picker included in DOM globally #108

matthiasPOE opened this issue Feb 14, 2025 · 0 comments

Comments

@matthiasPOE
Copy link

matthiasPOE commented Feb 14, 2025

Environment

vite / typescript

Reproduction

https://stackblitz.com/edit/stackblitz-starters-palmnrqm?file=vueform.config.ts

Describe the bug

When adding vueform / builder to the app it will render out the color picker into the dom even without including the <VueformBuilder /> element:

app.use(Vueform, vueformConfig)
app.use(Builder, builderConfig)
<div id="vfb-clr-picker" class="vfb-clr-picker"> ... </div>

This is causing issues in our storybook stories because now we have the unstyled color picked rendered in each component. Manually including the vueform css at least hides it but this feels like it shouldnt render in the first place.

Additional context

No response

Logs

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants