Skip to content

Scheme color change when app back from background [iOS] #2552

Closed
@tdvuanh

Description

@tdvuanh

Description

Hello there, we are using Colors.setScheme to enable dark mode on our application. Unfortunately, when we set Colors.setSchema('default'), the colors of the text component will change from the color of the light scheme to the dark scheme every time we put the app in the background and bring it to the foreground again. If we set Colors.setScheme('light') or `Colors.setScheme('dark'), everything is fine.

This issue happens on both the simulator and the real device also.

Steps to reproduce

Environment

  • React Native version: 0.70.6
  • React Native UI Lib version: 7.2.4

Affected platforms

  • Android
  • iOS

Metadata

Metadata

Assignees

Labels

buga bug in one of the components

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions