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

Vuetify button cannot be mounted on story with grid layout #709

Open
pdmshrestha opened this issue Apr 9, 2024 · 1 comment
Open

Vuetify button cannot be mounted on story with grid layout #709

pdmshrestha opened this issue Apr 9, 2024 · 1 comment
Labels
to triage This issue needs to be triaged

Comments

@pdmshrestha
Copy link

pdmshrestha commented Apr 9, 2024

Describe the bug

Unable to use vuetify button on story

<template>
  <Story :layout="{ type: 'grid', width: 200}">
    <Variant title="Default">
      <VBtn>Hello world</VBtn>
    </Variant>
  </Story>
</template>

<script setup lang="ts">
import { VBtn } from "vuetify/components/VBtn" 
</script>

The above story throws expection when you try to select the component.
Screenshot 2024-04-09 at 21 59 25

Reproduction

https://stackblitz.com/edit/vitejs-vite-ixfceb

npm run story:dev

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 771.09 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
    pnpm: 8.10.3 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 121.0.6167.184
    Edge: 123.0.2420.81
    Safari: 17.4.1
  npmPackages:
    @histoire/plugin-vue: ^0.17.16 => 0.17.16 
    @vitejs/plugin-vue: ^4.2.3 => 4.6.2 
    histoire: ^0.17.16 => 0.17.16 
    vite: ^4.4.5 => 4.5.3 


### Used Package Manager

npm

### Validations

- [X] Follow our [Code of Conduct](https://github.com/histoire-dev/histoire/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/histoire-dev/histoire/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://histoire.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/histoire-dev/histoire/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/histoire-dev/histoire/discussions).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
@pdmshrestha pdmshrestha added the to triage This issue needs to be triaged label Apr 9, 2024
Copy link

stackblitz bot commented Apr 9, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant