Skip to content

Warning: TypeError: Cannot read property 'bubblingEventTypes' of null #877

Open
@xiaoxuehai

Description

@xiaoxuehai

Describe the bug
image
image

Expected behavior
A clear and concise description of what you expected to happen.

To Reproduce
Add example code that reproduces the behavior.

import { useState } from 'react';

import DatePicker from 'react-native-date-picker';

import { View } from '@/components/ui';

export default function Demo() {
  const [date, setDate] = useState(new Date());

  return (
    <View>
      <DatePicker date={date} onDateChange={setDate} />
    </View>
  );
}

Smartphone (please complete the following information):

  • OS: [Android]
  • React Native version [e.g. 0.76.5]
  • react-native-date-picker version [e.g. 5.0.8]
  • expo version [e.g. 52.0.18]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions