I have a custom calendarHourList.html that also contains a right click context menu (via angular-boostrap-contextmenu).
When I right click in a cal-day-hour-part in chrome 57 on windows (note not on a mac!) it fires both oncontextmenu and onclick events which means that !!vm.onDateRangeSelect is executed unexpectedly and I get both the handler for the context menu and the handler for the left click.
Any ideas on how to prevent the !!vm.onDateRangeSelect function firing?
The context menu works when you right click on an event though, so I guess I need to use whatever mechanism that does to swallow the ng-click for right click events?
Bug description / Feature request:
I have a custom calendarHourList.html that also contains a right click context menu (via angular-boostrap-contextmenu).
When I right click in a
cal-day-hour-part
in chrome 57 on windows (note not on a mac!) it fires both oncontextmenu and onclick events which means that !!vm.onDateRangeSelect is executed unexpectedly and I get both the handler for the context menu and the handler for the left click.Any ideas on how to prevent the !!vm.onDateRangeSelect function firing?
The context menu works when you right click on an event though, so I guess I need to use whatever mechanism that does to swallow the ng-click for right click events?
Versions
Angular: 1.5.9
Calendar library: latest
Browser name and version: Chrome 57 on Windows