Skip to content
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

[docs] Smoother image loading UX #29858

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Nov 23, 2021

A small detail, but that has annoyed me for some time when loading the page:

Before

before.mp4

After

loading.ux.mp4

@oliviertassinari oliviertassinari added the website Pages that are not documentation-related, marketing-focused. label Nov 23, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Nov 23, 2021

No bundle size changes

Generated by 🚫 dangerJS against 9eb41ef

Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 🙌

@oliviertassinari
Copy link
Member Author

For those that wonder why it's better, it believe it's this rule: https://lawsofux.com/law-of-pr%C3%A4gnanz/. The background color makes it clear that there is an overlay on top of the avatar no matter the loaded state of the flag.

https://deploy-preview-29858--material-ui.netlify.app/about/

@oliviertassinari oliviertassinari merged commit 540c5d9 into mui:master Nov 23, 2021
@oliviertassinari oliviertassinari deleted the about-cleaner-loading-ux branch November 23, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants