NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

[Android] - Toast appears below Modal

Open intergalacticspacehighway opened this issue 2 years ago • 10 comments

The below screen recording demonstrates the bug reproduction.

https://user-images.githubusercontent.com/23293248/129330590-4eff19d3-2f8a-4e72-8526-08044876c158.mov

Reason

On Android, we're using RN's Modal to show the Overlay instead of using OverlayContainer. This has been done for accessibility reasons (to auto-shift focus when opened). This is leading to the below issue. RN's Modal has the highest precedence and it won't let any absolutely placed View appear on top. A quick fix would be to replace RN modal with OverlayContainer and shift focus manually.

This is also an issue on iOS with react-navigation's modal.

garrettg123 avatar Dec 30 '21 23:12 garrettg123

We're working on it. Thanks for reporting!

surajahmed avatar Jan 17 '22 12:01 surajahmed

+1

rkritskiy avatar Mar 09 '22 15:03 rkritskiy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 25 '22 20:05 stale[bot]

@surajahmed any updates on this?

I can also confirm I am having the same problems as @garrett-gottlieb with react navigation modals. Perhaps the title of this issue should be changed to iOS as well or should I open another issue?

yotamishak avatar Jul 07 '22 14:07 yotamishak

Hi @yotamishak. We're changing the architecture of the overlay component. This is due to the conflict between the native overlay and our Portal component. We'll fix this in the coming release. Thanks for your patience.

surajahmed avatar Sep 08 '22 07:09 surajahmed

hi @surajahmed , any updates on this?

tvnguyen-huge avatar Nov 20 '22 11:11 tvnguyen-huge

Still waiting here also

danieljohnson18 avatar Feb 09 '23 11:02 danieljohnson18

same issue here. Still waiting here...

alexlecco avatar Jun 07 '23 19:06 alexlecco

Hi, any updates on this?

willianlyncas avatar Nov 06 '23 19:11 willianlyncas