Unplanned
Last Updated: 13 Jun 2024 08:15 by Andreas
Andreas
Created on: 13 Jun 2024 08:15
Category: ContextMenu
Type: Bug Report
1
ContextMenu does not work with dynamic targets

If I add a target element after initialization, the ContextMenu cannot be opened for it. It seems like the ContextMenu cannot work with dynamic targets.

Reproduction: https://blazorrepl.telerik.com/wyaKvxaM02UinTjJ35.

===

ADMIN EDIT

===

A possible workaround is to dispose and recreate the ContextMenu after adding the new element during runtime: https://blazorrepl.telerik.com/coaUvdYs153SKyiQ29.

0 comments