Open Liu7i-67 opened 2 years ago
Hey there, Is this a beginner friendly issue. I want to work on this. I know react and I'm new to open source. So should I go ahead and directly start working on solution or there are some prerequisites
还没有解决吗
@lsh595254962 No one has filed a PR, no.
Clear and concise description of the problem
Under the month view of the calendar, it currently automatically calculates how many events can fit in a date cell and displays the + (count) button only when it exceeds this value, but this calculation becomes inaccurate if the style of the events is modified.
e.g. It automatically calculates that a cell can hold 4, but in reality it can only hold 3.
would like to provide a props to set how many events can fit in a cell
Suggested solution
Add a props to control the maximum number of events displayed in the monthly view on a given day, beyond which a +(count) button will be displayed
e.g. if you set this parameter to 3, the +(count) button will not be displayed when there are 3 events on a given day, and when there are 4 or more events on a given day, the first two events and the +(count) button will be rendered
Alternative
Additional context
Validations
Would you like to open a PR for this feature?