Skip to content

bug(tab-bar): safe area padding not added when slot="top" #23893

@EinfachHans

Description

@EinfachHans

Prequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

We use a <ion-tab-bar> that is placed with slot="top". This seems to not respect the safe area for the top

Expected Behavior

To have a padding-top: var(--ion-safe-area-top, 0); in a top placed tab bar

Steps to Reproduce

  • Tabs Starter
  • Place it on top

Code Reproduction URL

No response

Ionic Info

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions