Customize Component Rendering throws 'specialDay' error in storybook
Author: sceniclifeCreated Jun 16, 2026Updated Jun 16, 2026
Labelsbug
Check that this is really a bug
- I confirm
Reproduction link
https://bigcalendar.github.io/react-big-calendar/?path=/story/examples--example-8
Bug description
When switching to another view in this storybook, you get the error:
Cannot read properties of undefined (reading 'specialDay')Expected Behavior
Able to see other views
Actual Behavior
Cannot read properties of undefined (reading 'specialDay')react-big-calendar version
1.20.0
React version
19.2.6
Platform/Target and Browser Versions
Windows
Validations
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- Make sure this is a react-big-calendar issue and not an implementation issue
Would you like to open a PR for this bug?
- I'm willing to open a PR
Source: bigcalendar/react-big-calendar