Open inkCrazy opened 1 month ago
Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
ExpandableCalendar切换周的时候,为什么要自动选中每周的第一天,而且没有对应的回调事件,也没有取消选中?
希望:不要自动选中每周/每月的第一天,我没有使用Agenda
无。
Error text goes here!
System: OS: macOS 14.5 CPU: (10) arm64 Apple M2 Pro Memory: 87.38 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.6.1 path: /var/folders/kb/p5p48sk13csbptrctf07nlt00000gn/T/yarn--1728465693564-0.2712968587796647/node Yarn: version: 1.22.22 path: ~/Documents/Daling072/node_modules/.bin/yarn npm: version: 9.8.1 path: /opt/homebrew/bin/npm Watchman: version: 2024.01.22.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.13.0 path: /Users/inkcrazy/.rvm/gems/ruby-3.0.0/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 23.5 - iOS 17.5 - macOS 14.5 - tvOS 17.5 - visionOS 1.2 - watchOS 10.5 Android SDK: API Levels: - "28" - "29" - "30" - "31" - "32" - "33" - "33" - "34" Build Tools: - 28.0.3 - 29.0.2 - 29.0.3 - 30.0.2 - 30.0.3 - 31.0.0 - 33.0.0 - 33.0.1 - 33.0.2 - 34.0.0 - 34.0.0 System Images: - android-31 | Android TV ARM 64 v8a - android-33 | Google APIs ARM 64 v8a - android-34 | Google APIs ARM 64 v8a - android-UpsideDownCake | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: version: 15.4/15F31d path: /usr/bin/xcodebuild Languages: Java: version: 11.0.22 path: /Users/inkcrazy/.sdkman/candidates/java/current/bin/javac Ruby: version: 3.0.0 path: /Users/inkcrazy/.rvm/rubies/ruby-3.0.0/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.4 wanted: 0.72.4 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: false
Also specify:
all Device
<CalendarProvider date={currentDate}> <ExpandableCalendar initialPosition={'closed'} onDayPress={day => { console.log('onDayPress day', day); setCurrentDate(day.dateString); }} allowShadow={false} //日历是否有阴影 firstDay={7} /> </CalendarProvider>
Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
Description
ExpandableCalendar切换周的时候,为什么要自动选中每周的第一天,而且没有对应的回调事件,也没有取消选中?
Expected Behavior
希望:不要自动选中每周/每月的第一天,我没有使用Agenda
Observed Behavior
无。
Environment
Also specify:
all Device
Reproducible Demo
Screenshots