mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-04-05 22:01:04 +00:00
Gantt CellContextMenu not working when ContextMenu is defined
Fix #2514
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
|
||||
@if (Visible)
|
||||
{
|
||||
<div @ref="@Element" id="@GetId()" class="@GetCssClass()" style="@RootStyle" @attributes="Attributes">
|
||||
<div @ref="@Element" id="@GetId()" class="@GetCssClass()" style="@RootStyle" @attributes="Attributes"
|
||||
@oncontextmenu="@OnContextMenu" @oncontextmenu:preventDefault="@this.ContextMenu.HasDelegate" @oncontextmenu:stopPropagation="@this.ContextMenu.HasDelegate">
|
||||
@if (ShowNavigation)
|
||||
{
|
||||
<div class="rz-gantt-header">
|
||||
|
||||
@@ -1023,6 +1023,13 @@ namespace Radzen.Blazor
|
||||
|
||||
#endregion
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <inheritdoc />
|
||||
protected override async Task AddContextMenu()
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override string GetComponentCssClass() => "rz-gantt";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user