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

bug in calendarListScreen.tsx in Example #2447

Open
rookie4now123 opened this issue Apr 9, 2024 · 0 comments
Open

bug in calendarListScreen.tsx in Example #2447

rookie4now123 opened this issue Apr 9, 2024 · 0 comments

Comments

@rookie4now123
Copy link

rookie4now123 commented Apr 9, 2024

Description

properties like selectedTextColor: '#5E60CE', in nextWeekDate don't take effect. If change it to 'red', the color is still the same as which in the selected

Expected Behavior

If change selectedTextColor to red, when the date is selected, text will be red

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-calendars: react-native-calendars@1.1304.1
  • npm ls react-native: react-native@0.73.6, EXPO SDK50

Solutions:
Move selected to the top like
const marked = useMemo(() => {
return ( [selected]: {, the properties after it will take effect
I tried a PR but not a collaborator, failed

Device/emulator/simulator & OS version: android emulator

Screenshots

nextWeedDate is 4/15 in the screenshot
1111111

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

1 participant