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
Since recent update of the storybook to v7.2.3 from v7.1.x, when there is a Controls tab been attached to a story, there is the error in the console: Error: <svg> attribute width: Expected length, "inherit". chunk-SJD7EFYL.js:2 Error: <svg> attribute width: Expected length, "inherit".
After the investigation, I have found out that when the first time open this storybook, it show the "Interactive story playground
Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.", which has introduced few svg image, with width and height as inherit value that cause this issue.
See the screenshot here:
Error:
Clear cookie if needed if you want to check multiple times.
Describe the bug
Since recent update of the storybook to v7.2.3 from v7.1.x, when there is a Controls tab been attached to a story, there is the error in the console:
Error: <svg> attribute width: Expected length, "inherit". chunk-SJD7EFYL.js:2 Error: <svg> attribute width: Expected length, "inherit".
After the investigation, I have found out that when the first time open this storybook, it show the "Interactive story playground
Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.", which has introduced few svg image, with width and height as inherit value that cause this issue.
See the screenshot here:
![Screenshot 2023-08-11 at 23 17 57](https://private-user-images.githubusercontent.com/6026590/260152621-1b5b0760-da74-4176-b33d-c72b7d992c28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTIyOTMsIm5iZiI6MTczOTI1MTk5MywicGF0aCI6Ii82MDI2NTkwLzI2MDE1MjYyMS0xYjViMDc2MC1kYTc0LTQxNzYtYjMzZC1jNzJiN2Q5OTJjMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDUzMzEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2VhNzk2MDI5NmUxNTU0M2VhMmE4OTA2N2YyYzhlNjVmM2YwYjlmYmNkMjIxZWE2YTE1YmU4MTkxMmY0NmE5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ChYzm968If9t6gVWNXmi9etCrCvHO9AFC54RiDmJl4c)
Error:
![Screenshot 2023-08-11 at 23 46 15](https://private-user-images.githubusercontent.com/6026590/260156463-f1522b62-f549-4e9e-8ef3-c02ddb99ff92.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTIyOTMsIm5iZiI6MTczOTI1MTk5MywicGF0aCI6Ii82MDI2NTkwLzI2MDE1NjQ2My1mMTUyMmI2Mi1mNTQ5LTRlOWUtOGVmMy1jMDJkZGI5OWZmOTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDUzMzEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjY3MDhiMjM2ZjI4MDJlNGVhZmVlMzcwNzMxYmY4ZTE5MDBlOGFjYjU2ZjE2ZWRiZTYwNjRlOGM0ZmU5MWU1NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hk1yyeeqvURuuKsur9MeWjhOOGq0a_gBfFoLqby-qAo)
Clear cookie if needed if you want to check multiple times.
To Reproduce
https://githubc38259-4aaj--6006--d5d65229.local-credentialless.webcontainer.io/
System
Additional context
No response
The text was updated successfully, but these errors were encountered: