-
Notifications
You must be signed in to change notification settings - Fork 97
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
animation support #27
Comments
yep it is a must! |
Hi @jasonslyvia, thank you for this issue :)
What is the use case you have in mind here? |
either is okay, but built in animation support seems more desirable to lazy ones like me :P |
Yeas props like animation true/false must be good! set it default to true! :D I think it is the best approach! :D |
+1 for this, i was looking for an already made placeholder with some loading animation but didn't find anything ready to use. It surely improves the UX for the user to see an animation indicating that something is still happening / waiting |
@jasonslyvia I'm having trouble with the solution you proposed as it relies on filling every white space with a For starting I was thinking about adding a simpler animation like a pulse animation: Would this be ok for you guys? |
Yep, this would be a great starting point |
I opened a PR, you can see it here if you want :) |
Hey, I upgraded to 1.0.4 and am still not able to get this nice feature. I tried the code in example and it does not get animation.
Is there anything I did incorrectly? Many thanks. |
Have you forgotten to import the new style file Let me know if that was the problem, in the meanwhile I'll update the README.md (I just realized I didn't write anywhere about this new CSS file!) |
@FrancescoCioria its working for me after adding css import. BTW do not you want to apply this animation to other sharp types, e.g rect-sharp? |
You're right, there's a typo in the CSS: it should be |
Great component, would be nice if we can integrate some animation into this, stuff like https://codepen.io/Mestika/pen/ByNYBa, thoughts?
The text was updated successfully, but these errors were encountered: