Text selection does not hold consistently when click on font family drop down.

3 Answers 28 Views
DropDownList
Sameep
Top achievements
Rank 1
Iron
Sameep asked on 07 Feb 2024, 01:05 PM

Hello,

I am using Kendo version Kendo UI v2020.2.617 in our project, I have implemented custom fonts in the fonts family tool. When I select any text to change its font for some instances, the selection gets held until the time I select the font and after the font selection is completed. Still, when I select the text and try to open the font dropdown, the selection is getting deselected, which means the selection is not getting hold in the editor.

Even I faced the same issue for the default fontName tool when I implemented it before trying the custom.

Will you please help me with what might be the possible reasons for it? 

 

Code which I implemented -

{
                    name: "fontName",
                    items: [{
                        text: "Andale Mono",
                        value: "Andale Mono"
                    }, {
                        text: "Arial",
                        value: "Arial"
                    }, {
                        text: "Arial Black",
                        value: "Arial Black"
                    }, {
                        text: "Book Antiqua",
                        value: "Book Antiqua"
                    }, {
                        text: "Comic Sans MS",
                        value: "Comic Sans MS"
                    }, {
                        text: "Courier New",
                        value: "Courier New"
                    }, {
                        text: "Georgia",
                        value: "Georgia"
                    }, {
                        text: "Helvetica",
                        value: "Helvetica"
                    }, {
                        text: "Impact",
                        value: "Impact"
                    }, {
                        text: "Symbol",
                        value: "Symbol"
                    }, {
                        text: "Tahoma",
                        value: "Tahoma"
                    }, {
                        text: "Terminal",
                        value: "Terminal"
                    }, {
                        text: "Times New Roman",
                        value: "Times New Roman"
                    }, {
                        text: "Trebuchet MS",
                        value: "Trebuchet MS"
                    }, {
                        text: "Verdana",
                        value: "Verdana"
                    }, {
                        text: "Webdings",
                        value: "Webdings"
                    }, {
                        text: "Wingdings",
                        value: "Wingdings"
                    }]
                }

Thank you

 

 

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 12 Feb 2024, 12:57 PM

Hello, Sameep,

I am currently reviewing the example, I will get back to you shortly with some additional information.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
0
Martin
Telerik team
answered on 12 Feb 2024, 02:41 PM

Hello, Sameep,

I have opened a new bug report on your behalf in our Feedback Portal where you can track its status.

As a token of gratitude for the report, I am updating you Telerik Points.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
0
Sameep
Top achievements
Rank 1
Iron
answered on 14 Feb 2024, 07:57 AM

Hello Martin,

Thank you so much for raising a bug report.

I also want to add that I am facing the same selection issue with the font size tool. This time around, I have not used any custom font size with the tool, instead used the tool named fontSize as it is.

Will you please look into this?

Thank you,

Sameep Sawant.

 

Martin
Telerik team
commented on 16 Feb 2024, 12:25 PM

Hello, Sameep,

I tried to reproduce the issue with the fontSize tool in this Dojo example, but so far the selection is preserved. Could you please let me know how I can reproduce the behaviour?

Sameep
Top achievements
Rank 1
Iron
commented on 19 Feb 2024, 11:56 AM

Hello, Martin,

When I select any text, the selection gets deselected when I try applying font size to that particular text.

Here are the steps that I followed -

1. Select any text

2. Select any font size

 

While using the font size tool I am using the default tool that Kendo provides with default font sizes i.e. "fontSize".

Martin
Telerik team
commented on 22 Feb 2024, 09:35 AM

Hello, Sameep,

Here you will find a small video where you can see that the font selection is preserved after following the steps you mentioned. Could you please let me know if I am missing something?

Tags
DropDownList
Asked by
Sameep
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Sameep
Top achievements
Rank 1
Iron
Share this question
or