Skip to content

Conversation

ashnohe
Copy link
Contributor

@ashnohe ashnohe commented Sep 8, 2025

Add WindowInsetsRulers snippet to show how it helps when upstream parents cause excess padding in downstream children.

WindowInsetsRulers.mp4

Video shows problematic IME inset consumption caused by an upstream parent. Left: Extra padding is added underneath the TextField Composable when the IME expands as the navigation bar padding wasn't consumed by the parent. Right: Child is placed in the correct location using WindowInsetsRulers without having to fix the parent upstream.

Copy link

snippet-bot bot commented Sep 8, 2025

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@ashnohe ashnohe requested a review from riggaroo September 9, 2025 15:56
@ashnohe ashnohe marked this pull request as draft September 9, 2025 16:02
@ashnohe ashnohe marked this pull request as ready for review September 9, 2025 17:48
@ashnohe ashnohe merged commit 9efabdd into main Sep 10, 2025
5 checks passed
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