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

Set the width of fitting content as max-content #233

Merged
merged 3 commits into from
May 17, 2021
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented May 17, 2021

In the corner case like #232, the observer for fitting contents may not calculate an optimal size.

width: max-content represents to force width into the maximum width that contents can take. This defintion will prevent unexpected zoom animation caused by fitting observer.

@yhatt yhatt linked an issue May 17, 2021 that may be closed by this pull request
@yhatt yhatt merged commit c3fa00f into main May 17, 2021
@yhatt yhatt deleted the fitting-content-width branch May 17, 2021 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fitting header with single emoji has unexpected zoom animation
1 participant