Hello,
I think react-big-calendar is missing an event for clicking (mouse click or touchscreen click) or double clicking on day background, usable for mobile. So a click on: rbc-day-bg.
selectable={true}
onSelectSlot={this.onSlotSelect}
onDrillDown={this.onDrillDownClick}
`
Currently onSelectSlot work at click just for desktop use, not for mobile. For mobile to work you need to actually do a selection.
onDrillDown is useful because does this on mobile, but just for the area of day number... We need something for all the day box...
This is similar with https://github.com/intljusticemission/react-big-calendar/issues/1222
It seems this line is preventing the click from working on mobile:
I commented it out and now both click and select actions trigger for onSelectSlot (in week mode).
Not sure what side effects it causes though.
It seems this line is preventing the click from working on mobile:
react-big-calendar/src/Selection.js
Line 175 in 473d886
this._onInitialEventListener.remove()
I commented it out and now bothclickandselectactions trigger foronSelectSlot(inweekmode).
Not sure what side effects it causes though.
@ktmn I have already commented this line. It's works fine in Android devices, but it's not worked in IOS devices. Please give suggestion, if any.
@ParthPatel-DA happen also for me..
any suggestions?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@ParthPatel-DA happen also for me..
any suggestions?