fullcalendar / fullcalendar-react

The official React Component for FullCalendar

Home Page:https://fullcalendar.io/docs/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FullCalender +more option issue when custom button is added

priyankush-siloria opened this issue · comments

I have implement the full calendar in reactjs code. This is my code
<FullCalendar
defaultView="dayGridMonth"
headerToolbar={{
left: "prev,next today myCustomButton",
center: "title",
right: "dayGridMonth,timeGridWeek,timeGridDay,listWeek",
}}
dayMaxEventRows={3}
customButtons={{
myCustomButton: {
text: "Create Event",
class: "create-event color-btn px-2 py-1",
click: () => {
this.showModal("add");
},
},
}}
editable={true}
selectable={true}
droppable={true}
selectMirror={true}
plugins={[dayGridPlugin, timeGridPlugin, interactionPlugin]}
events={eventData}
/>
Everything is working fine but when i am click on +more event the popup is not showing,

If i remove customButtons code then its working fine

Would you be able to post a runnable, stripped-down demonstration of the bug? Would really appreciate it because the time saved reproducing will be time spent fixing.