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

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

Open
xiaoxuehai opened this issue Dec 27, 2024 · 1 comment
Open

Comments

@xiaoxuehai
Copy link

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]
@sultanularefin
Copy link

sultanularefin commented Dec 28, 2024

I am having the same issue, in iOS Simulator, with latest xCode.

date_picker_issue

I am using this packages:

"react-native": "0.76.1", "@react-native-community/datetimepicker": "^8.2.0", "react-native-modal-datetime-picker": "^18.0.0", "react-native-date-picker": "^5.0.8",

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

2 participants