Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0.0] Issues with theme switching #789

Open
kamui545 opened this issue Mar 28, 2024 · 0 comments
Open

[5.0.0] Issues with theme switching #789

kamui545 opened this issue Mar 28, 2024 · 0 comments

Comments

@kamui545
Copy link

kamui545 commented Mar 28, 2024

Describe the bug

The light theme breaks when switching from dark mode, see screen recording:

Screen.Recording.2024-03-28.at.9.01.09.AM.mov

(I did not try on Android yet, maybe it suffers from the same issue)

Expected behavior

Light mode should not break when switching from dark mode.

To Reproduce

In iOS simulator, switch theme (Features > Toggle Appearance shift + cmd + A): Light, Dark, Light, it should break.

export default class App extends Component {

  state = { date: new Date() }

  render = () =>
    <DatePicker
      date={this.state.date}
      onDateChange={date => this.setState({ date })}
    />

}

Smartphone:

  • OS: iOS
  • React Native version 0.73.6
  • react-native-date-picker version 5.0.0
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

No branches or pull requests

1 participant