Context menu hides toolbar of richtextbox

2 Answers 45 Views
RichTextEditor
Rolf
Top achievements
Rank 1
Iron
Iron
Iron
Rolf asked on 29 Nov 2023, 08:27 PM

When I want to select a word in the first line of a text in RichTextBox, then a context menu with "Cut, copy .." appears and hides

the toolbar. So I can't do any action on the selected text. How can I disable the context menu?

2 Answers, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 04 Dec 2023, 12:16 PM

Hi Rolf,

There isn't an option to disable the context menu. We have a feature request for customizing the context menu here: https://feedback.telerik.com/maui/1625895-richtexteditor-provide-an-option-to-customize-the-context-menu 

Regarding to the hide effect, could you please send me a video and the page definition where the control is placed? Also on which platform the behavior happens?

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com
Rolf
Top achievements
Rank 1
Iron
Iron
Iron
commented on 07 Dec 2023, 05:17 PM

Here is an example:

I try to change the word "line" in the first line to bold. After

marking the word it looks like this:

The context menu covers the toolbar with the icon for bold.

How can I handle it?

Doing the same in the second or third line is no problem. The

context menu is shown below the toolbar.

Didi
Telerik team
commented on 08 Dec 2023, 07:05 AM

There isn't an option to change the context menu position. This is the default context menu that comes from the native WebView control. The RichTextEditor does not have a control for this menu. I can suggest you define the toolbar below the RichTextEditor control. 
0
Rolf
Top achievements
Rank 1
Iron
Iron
Iron
answered on 07 Dec 2023, 05:10 PM | edited on 13 Dec 2023, 05:48 PM
I initially accidentally typed my comment as a reply.
Tags
RichTextEditor
Asked by
Rolf
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Didi
Telerik team
Rolf
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or