Open josecn29 opened 5 years ago
#calendar
must have css height. Will you set the height?
But both day and week views work correctly without height. This one should also do it. How workaround is perfect.
@josecn29 yeah, you're right. I will enhance that.
Ok, thanks. I await the solution.
+1, waiting for the solution
I'm using the container has a height, but still can't see the calendar. With version 1.0.2
<div id={'calendar'} style={{height: 500, width: '100%'}}>
<Calendar
view={'month'}
/>
</div>;
#calendar
must have css height. Will you set the height?
I checked the code, the height prop should be the Calendar itself but not the container's height now it works, I can see the month view after setting the height prop
<div id={'calendar'} className={style.calendarContainer}>
<Calendar
view={'month'}
height={500}
/>
</div>;
Thank you. And I patch this at TOAST UI Calendar. You will see the default height of month view after new release version(Not scheduled).
@Elise-Kasai Hi, I think your question is irrelevant to this issue. How about creating a new issue on the main repo? It will help others struggling with similar problems. And also, Please upload some attachments like screenshots or codes reproducing the problem.
If you're trying to modify behaviors on the example page, you might need to see functions such as like this one rather than the calendar instance.
Version
"@toast-ui/react-calendar": "^1.0.1"
Test Environment
Goolgle Chrome Versión 75.0.3770.100 Windows
Current Behavior
When I switch to the month view, it is not displayed correctly. Only the headers are shown.
In others views, it is displayed correctly.
Expected Behavior
I would like to see the month view