Skip to content

vfb-clr-picker included in DOM globally #108

Open
@matthiasPOE

Description

@matthiasPOE

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions