Unplanned
Last Updated: 28 Jul 2020 06:10 by Thibaut
Thibaut
Created on: 28 Jul 2020 06:10
Category: Editor
Type: Bug Report
2
The text selection in the inline Editor gets lost when focusing the HEX input of the ColorPicker

Bug report

The ColorPickers in the Editor allow the user to change the text color or the background color of a selection in the component. When the Editor is working in Inline mode, if you select a text and manually enter a value in the HEX input of a ColorPicker, the pre-selected text is no longer selected. No text is colored inside the Editor.

Reproduction of the problem

  1. Open this Dojo and run it
  2. Select a text in the inline Editor
  3. Open one of the ColorPickers and enter a value in the HEX input
  4. Apply the HEX value

Current behavior

The ColorPicker closes. The selected text in the Editor before opening the ColorPicker is no longer selected. No text in the Editor is in the color entered in the HEX editor.

Expected/desired behavior

Clicking on the Apply button of the ColorPicker, after a HEX value is entered, should close the ColorPicker and color the pre-selected text. This correct behavior can be observed in the second Editor in the linked above Dojo example.

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all]
0 comments