Skip to content

fix(ios): update date picker theme correctly on light/dark switch - #973

Open
RajZadafiya wants to merge 1 commit into
henninghall:masterfrom
RajZadafiya:fix/ios-inline-theme-switch
Open

fix(ios): update date picker theme correctly on light/dark switch#973
RajZadafiya wants to merge 1 commit into
henninghall:masterfrom
RajZadafiya:fix/ios-inline-theme-switch

Conversation

@RajZadafiya

Copy link
Copy Markdown

Summary

  • Fixes iOS inline date picker not updating appearance when switching light → dark → light (text staying white on light theme).
  • Forces UIDatePicker to rebuild after overrideUserInterfaceStyle changes, while preserving the selected date.
  • Applies the theme prop on Fabric and Paper/modal native paths.

Test plan

  • iOS inline picker: switch theme light → dark → light; text colors update immediately
  • Selected date/time is not reset when theme changes
  • Modal picker still respects theme

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