Duplicated
Last Updated: 26 Sep 2025 12:22 by ADMIN
Sebastian
Created on: 26 Sep 2025 11:58
Category: UI for Blazor
Type: Bug Report
0
OnShapeClick only triggers on last added shape

Hello guys,

I know you probably gonna redirect me to these topics:

https://feedback.telerik.com/blazor/1588185-onshapeclick-does-not-trigger-for-every-bubble-or-shape-when-the-bubble-shape-layers-are-created-dynamically

https://feedback.telerik.com/blazor/1581128-ability-to-change-the-color-of-the-shape-on-click

But that is not a solution. The OnShapeClick-Event of the TelerikMap still triggers only if you click the shape, that was added last. Which means if I have 3 shapes in my TelerikMap, only a click on the third map will lead to the OnShapeClick event being triggered.

This is not a feature request, as you told Michael in his bug report und not at all related to the feature request of chaning a shape's color up on clicking it...but this is clearly a bug.

Please provide some short feedback on how / when this will be solved. Otherwise as a user of Blazor UI I have to manually write JavaScript Code, dismantle the DOM, trigger Interop-Methods etc. to achieve that behavior that should actually just work out of the box as documented.

Thanks and best regards!
Sebastian

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Dimo
Posted on: 26 Sep 2025 12:22

Hello Sebastian,

There is no denial that the OnShapeClick issue is a bug and we have confirmed it in the original bug report too.

We prioritize bug reports by severity, frequency and customer demand. This particular issue has a lot fewer votes (5) than other more popular ones, and that's why haven't scheduled it yet. I am sorry I can't provide more specific information at this point.

I am marking this thread as duplicate of this one, unless I am missing something and your scenario is different. In this case, please elaborate.

Regards,
Dimo
Progress Telerik

Your perspective matters! Join other professionals in the State of Designer-Developer Collaboration 2025: Workflows, Trends and AI survey to share how AI and new workflows are impacting collaboration, and be among the first to see the key findings.
Start the 2025 Survey