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

Cannot read properties of undefined (reading 'time') or (reading 'end') #139

Open
1 task done
varungupta85 opened this issue Mar 14, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@varungupta85
Copy link

Checklist

  • I've verified that I'm running react-big-schedule latest version.

Describe the bug

When I click on an empty area in calendar, I see the below error message

image

image
For example, if I click on the grey area below 3/12.

Sometimes, the error says reading 'end'. Below is the error in the console:

image

As a workaround, I am okay to just disable clicking in empty area in calendar but I don't see any such prop that allows me to do that.

Reproduction Link/Code

I am just using the example in the repository.

Steps to reproduce

  1. Tap on the empty day
  2. Observe the error

Operating System

Mac

Browser

Edge

React version

18.2.0

react-big-schedule version

4.4.0

Additional Information

No response

@varungupta85 varungupta85 added the bug Something isn't working label Mar 14, 2024
@ansulagrawal
Copy link
Member

can you create a bug in code-sanbox or share code

@varungupta85
Copy link
Author

Yes, I will share that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants