79433112

Date: 2025-02-12 12:53:11
Score: 1.5
Natty:
Report link

I can think of 2 possible reasons if I may:

  1. Dialogs do not inherit insets automatically. Unlike full-screen composables, dialogs do not automatically respect safeContentPadding(). You might need to manually apply WindowInsets. Could you log the insets inside the dialog to confirm/disprove this?

  2. Scaffold inside a Dialog behaves differently than in a full screen Composable. The Scaffold insets inside a dialog do not behave as expected compared to a normal Composable, I also had the experience.

If it doesn't help, then I think it would come to different implementations of AOSP used by the manufacturers.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: IliyaTi