-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Check that this is really a bug
- I confirm
Reproduction link
https://codesandbox.io/p/sandbox/4rsg7w
Bug description
Custom EventWrapper with DnD add-on is bugged, it's not rendering correctly. Whenever you add a custom component in the components prop, it crashes and doesn't render the component at all.
Expected Behavior
Seems to be an issue while executing mergeComponents function, which is taking keys as undefined and the forEach function is stating that can't use forEach for undefined. In previous versions, this was working as expected.
Actual Behavior
The whole component is crashing
react-big-calendar version
^1.17.1
React version
^19.0.0
Platform/Target and Browser Versions
Any
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
joel-huang, jgarrow, lazlojuly and victoragcosta