Skip to content

[ BUG ] DateTimePicker loses theme/color scheme when rendered inside Dialog component #462

@taariqelliott

Description

@taariqelliott

Reproduction link: component folder

Describe the bug
DateTimePicker loses theme/color scheme when rendered inside Dialog component from @rn-primitives/dialog. The picker works with proper theming when used directly but reverts to default blue colors when wrapped in a Dialog.

Steps to reproduce the behavior:

  1. Create a component with DateTimePicker inside a Dialog
  2. Set up app with custom theme/color scheme
  3. Open the dialog containing the date picker
  4. Observe the picker uses default colors instead of themed colors

Expected behavior
The DateTimePicker should inherit and respect the app's theme/color scheme when rendered inside a Dialog, same as when rendered directly.

Screenshots

DatePicker inside of Dialog:
Image


DatePicker outside of Dialog:

Image

Platform (please complete the following information):

  • Type: [Device/Simulator]
  • OS: [iOS/Android]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions