Declined
Last Updated: 31 Jul 2024 12:01 by ADMIN
pihihap
Created on: 14 Jul 2024 10:47
Category: Kendo UI for Angular
Type: Bug Report
1
Text selection is losing focus after context menu is shown at FireFox

Hi,

I've noticed a strange issue with the ContextMenu: in Firefox, the div text selection loses focus after the context menu is shown.

My actual goal is to perform some functionality on the selected text by clicking the appropriate item from the context menu. However, the selection is lost after the context menu is displayed, making it difficult for the user to identify the current selection. This issue occurs only in Firefox; it works fine in Chrome and Edge.

I have attached below sample code and sample screenshot.

Here is Chrome/Edge context menu behavior (as expected).

Here is FireFox context menu behavior (focus lost on selected text).

Sample Code:

https://stackblitz.com/edit/angular-udag3v-aoxarf?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fcontextmenu-items.ts

Please let me know if there is any solution for this.

Thanks,

 

4 comments
ADMIN
Yanmario
Posted on: 31 Jul 2024 12:01

Hi Everyone

The behavior isn't considered a bug as described in the following comment:

https://github.com/telerik/kendo-angular/issues/4368#issuecomment-2260297397

Feel free to use the workaround provided in the comment.

Regards,
Yanmario
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

ADMIN
Yanmario
Posted on: 19 Jul 2024 07:38

Hi Pihihap,

Thank you for the provided feedback.

Yes, the behavior doesn't look correct and it was also logged in our GitHub repository:

https://github.com/telerik/kendo-angular/issues/4368

Our developers will check on what could be done as it also affects Safari. I also update your Telerik Points, for reporting this issue to us.

Regards,
Yanmario
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

pihihap
Posted on: 16 Jul 2024 08:48

Hi horvath & Team,

No. this issue still exists even in the latest version of Firefox. I have attached the video for the same. 

 

Please check the video and let me know the solution for this

 

Thanks

Attached Files:
horváth
Posted on: 14 Jul 2024 15:53
I use firefox 128, and there is no problem with the given example. The text remains selected.