Skip to content

Conversation

@johankasperi
Copy link
Contributor

Description

When closing a bottomaccessory you get a RCTLogError with "Unsupported environment for onEnvironmentChange event". Thats because the environment is of type "none" when the bottom accessory is closed.

Changes

Add support for "none".

Screenshots / GIFs

Before

Simulator.Screen.Recording.-.iPhone.17.Pro.-.2025-11-20.at.15.56.26.mov

After

Uploading Simulator Screen Recording - iPhone 17 Pro - 2025-11-20 at 16.10.15.mov…

Test code and steps to reproduce

Run Test3288 and set shown to false using the button on the screen

Checklist

@johankasperi johankasperi changed the title fix: add support for bottom accessory environment none fix(iOS, Tabs): add support for bottom accessory environment none Nov 20, 2025
@kkafar kkafar requested a review from kligarski November 20, 2025 20:05
@kkafar
Copy link
Member

kkafar commented Nov 20, 2025

Thanks @johankasperi!

cc @kligarski

Will we need to update workarounds code?

@kkafar kkafar self-requested a review November 20, 2025 20:06
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.

2 participants