Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Jetpack Compose version:
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: NavigationSuiteScaffold + AndroidFragment
In my application I use NavigationSuiteScaffold, the content of which is displayed via Fragment. I encountered the fact that Insets are not available to me inside the fragment.
I apply insets to the view in the fragment, but here to simplify the example I will do it via compose, the result is the same:
If I use it without NavigationSuiteScaffold, everything is displayed as it should (Screenshot_1) - OK:
But if I use it NavigationSuiteScaffold with AndroidFragment - Insets are lost (Screenshot_2) - NOT OK:
But if I use it NavigationSuiteScaffold without AndroidFragment - Insets are fine (Screenshot_3) - OK: