Skip to content

[Android] NavigationBar padding not reset when switching tabs with different HasNavigationBar values #33473

@Vignesh-SF3580

Description

@Vignesh-SF3580

Description

On Android, switching between tabs that use different HasNavigationBar values does not correctly reset the NavigationBar padding. When navigating from a tab with HasNavigationBar="false" to one with HasNavigationBar="true" and then back, the padding from the previous tab persists, resulting in incorrect top padding

Steps to Reproduce

  1. Run the attached sample. Sample.zip
  2. Observe layout on Tab1
  3. Switch to Tab5 - the NavigationBar becomes visible
  4. Switch back to Tab1
  5. Notice that incorrect padding is applied on top
StatusBarIssue.mov

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-navigationNavigationPagepartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions