-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Dashboard Plugin: remove jumpiness when uppy loads #1383
Dashboard Plugin: remove jumpiness when uppy loads #1383
Conversation
This looks good from the first test, thanks! 🎉 ✨ I’d probably do it via a classname from the top container, similar to how we have And |
I see what you mean about the prop and a class! The reason I didn't use a prop, and didn't use a class, is because I didn't want to disperse the logic across multiple files (logic is described in a comment, is it clear btw? I made it shorter and more unclear I think). If we were using a prop, we'd need to mention in index.js why exactly our dashboard insides shouldn't be visible when Do you think using props and className is a good exchange for dispersing some logic in this case? |
I see your points too, thanks! And I agree with them, partly. But since all the other logic is in It could also be nice to add a |
Good point about keeping it close to |
Thank you! Updating this one works, too! :) We can have a call about it if needed, let me know on Slack if so. |
@arturi, pushed a new version! |
So |
Yes, exactly. Sounds good!
Both work, but you mentioned possible animation in the future, and I thought we may want to use opacity while we're at it right away, since it's more easily animatable. |
Agreed and merged! Thank you! :) |
No description provided.