display="spinner" on Android still shows calendar
Bug report
I am currently running expo SDK 44 and @react-native-community/[email protected], I have set the display="spinner" and yet I get a calendar view instead of a spinner view. Attached below is my code spinner
<DateTimePicker
testID="dateTimePicker"
value={new Date(initialDate) || new Date()}
mode={"date"}
is24Hour={true}
display="spinner"
onChange={(event: any, selectedDate: any) => {
const currentDate = selectedDate;
onChange(currentDate);
}}
onTouchCancel={() => {
setShowDateDialog(false);
}}
textColor={Colors.black}
/>
npx react-native info output:
System:
OS: macOS 12.0.1
CPU: (8) x64 Apple M1
Memory: 32.03 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.14.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
Languages:
Java: 16.0.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
datetimepicker version: 4.0.0
Android Version: 11
same here
I think this is only intended for iOS
@Delvio i don't this so, It has been working utpo like December
Same Problem, with version 5.1.0 Is thre any action ?
@kelvinndmo Why did you close this issue ? did you managed to get working?
Yes @hurtrelj use expo dev client
@kelvinndmo do you talk about eas build ?
Same problem here, is this not fixed yet ?
Same here 😞
Can this issue be opened again? I just tried last version of the package and the calendar shows up always, it's like "spinner" is doing nothing