Skip to content

Add method for getting the navigation bar height#3

Open
mtnair wants to merge 3 commits into
owlsdepartment:mainfrom
mtnair:main
Open

Add method for getting the navigation bar height#3
mtnair wants to merge 3 commits into
owlsdepartment:mainfrom
mtnair:main

Conversation

@mtnair

@mtnair mtnair commented Feb 22, 2024

Copy link
Copy Markdown

I added another method named getBottom() to get the height of the navigation bar.

This is useful when using a plugin like @hugotomazi/capacitor-navigation-bar to set the navigation bar to transparent (with NavigationBar.setTransparency({ isTransparent: true });).
In this case, the missing bottom inset makes the content of the app appear behind the navigation bar.

@owlsdepartment @przyb if you could publish a new version to npm it would be greatly appreciated.

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.

1 participant