Skip to content

fix: toast hidden behind stack header by allowing custom containerStyle#586

Open
Jasleen-Kaur96 wants to merge 1 commit into
calintamas:mainfrom
Jasleen-Kaur96:fix/toast-zindex-navigation-header
Open

fix: toast hidden behind stack header by allowing custom containerStyle#586
Jasleen-Kaur96 wants to merge 1 commit into
calintamas:mainfrom
Jasleen-Kaur96:fix/toast-zindex-navigation-header

Conversation

@Jasleen-Kaur96
Copy link
Copy Markdown

Problem

Toast is rendered behind the React Navigation stack header in some layouts.

Cause

The Toast container does not enforce sufficient zIndex/elevation which causes it to be placed below the navigation header layer.

Solution

Updated the container style to ensure it renders above navigation headers.

Testing

Tested with React Navigation Stack Navigator and verified toast visibility with headerShown=true.

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