-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Wrong height #46
Comments
Experiencing the same. |
This was an issue for me when the loader was too wide for the parent container |
My suggestion would be to get closer to what react-content-loader does:
|
fix #46 BREAKING CHANGE: `width` and `height` attributes are now applied as-is to the `svg` element, if you want the previous, responsive behavior, use only the new `viewBox` prop instead. Before: `width="200" height="100"` After: `viewBox="0 0 200 100"`
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The height of the rendered component is higher than the height set with
:height="200"
The text was updated successfully, but these errors were encountered: