Skip to content

Conversation

@henni99
Copy link

@henni99 henni99 commented Apr 14, 2025

Fix #1864

  • Calculates the precise bottom padding required above the IME by using onGloballyPositioned to determine the component’s position relative to the root layout height.

  • Incorporates WindowInsets.navigationBars to exclude the navigation bar height, ensuring that only the actual IME area is considered for padding.

  • Combines Modifier.imePadding() with Modifier.consumeWindowInsets(), but supplies only the necessary padding to prevent unintended layout jumps.

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.

[Bug]: Snackbar appears in the wrong position when the keyboard is visible

1 participant