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

Event sorting #891

Open
borysenko-oleksandr opened this issue Jul 19, 2023 · 1 comment
Open

Event sorting #891

borysenko-oleksandr opened this issue Jul 19, 2023 · 1 comment

Comments

@borysenko-oleksandr
Copy link

borysenko-oleksandr commented Jul 19, 2023

Hello, thanks for developing this library!
I have just 2 questions, could you help me?

  1. I would like the events in the monthly calendar to be displayed sorted by the number of days in a week. So if one event lasts 5 days and the other 3, then 5 is always higher.
  2. Can I somehow remove the click from the event, it seems to block the click for the day.

Thanks a lot!
Screenshot 2023-07-19 at 18 07 58

@acro5piano
Copy link
Owner

Hi, thank you for your interest in this project and sorry for my slow response.

  1. I would like the events in the monthly calendar to be displayed sorted by the number of days in a week. So if one event lasts 5 days and the other 3, then 5 is always higher.

Currently we don't have logic for that. However, if you will make a pull request for this, I'm happy to accept it. This part is related, but it is faily complicated. Needs code extraction for testing IMO.

const sortedEvents = React.useCallback(

  1. Can I somehow remove the click from the event, it seems to block the click for the day.

Are you talking about click event propagation for components under event cells, right? If so, it is impossible in RN architecture and shouldn't be recommended as UI, IMO.

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

2 participants