You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am unable to capture the upload of a file in the storybook controls, so that I can convert it to a blob.
The component I'm developing is dependent on this interaction.
I'm able to get array of object urls so that I could fetch when needed but am unable, within the setup() of a story template, to read this anywhere. Currently trying by watching the args object passed through setup.
Additional context
I found this while attempting to uploading stl, ply files for a 3d model viewer for my application, but this happens no matter the file type that I've tried.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am unable to capture the upload of a file in the storybook controls, so that I can convert it to a blob.
The component I'm developing is dependent on this interaction.
I'm able to get array of object urls so that I could fetch when needed but am unable, within the
setup()
of a story template, to read this anywhere. Currently trying by watching the args object passed through setup.To Reproduce
I have created https://github.com/Mootook/sb-file-argtype with a README to showcase how to find the warning/error.
System
System:
OS: macOS 11.2.3
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Binaries:
Node: 12.20.1 - ~/.nvm/versions/node/v12.20.1/bin/node
Yarn: 2.4.1 - /usr/local/bin/yarn
npm: 7.11.1 - ~/.nvm/versions/node/v12.20.1/bin/npm
Browsers:
Chrome: 90.0.4430.212
Safari: 14.0.3
npmPackages:
@storybook/addon-actions: ^6.3.0-alpha.25 => 6.3.0-alpha.25
@storybook/addon-docs: ^6.3.0-alpha.25 => 6.3.0-alpha.25
@storybook/addon-essentials: ^6.3.0-alpha.25 => 6.3.0-alpha.25
@storybook/addon-links: ^6.3.0-alpha.25 => 6.3.0-alpha.25
@storybook/vue3: ^6.3.0-alpha.25 => 6.3.0-alpha.25
Additional context
I found this while attempting to uploading stl, ply files for a 3d model viewer for my application, but this happens no matter the file type that I've tried.
The text was updated successfully, but these errors were encountered: