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

fix: custom emoji becomes smaller #74

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

lazzzis
Copy link
Contributor

@lazzzis lazzzis commented Feb 24, 2024

Note that the first emoji becomes smaller since the second time it is rendered. I don't know why but it appears it is easier to fix. Per InlineTextContent's doc, the width and height of PlaceHolder is passed to the layout rather than the child. The official sample also suggests adding a fillMaxSize.

Screen_recording_20240222_192443.mp4

@whitescent whitescent merged commit 532efe1 into whitescent:main Feb 24, 2024
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.

2 participants