@ckeditor/ckeditor5-ui 44.2.1-alpha.0 → 44.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/colorpicker/colorpickerview.js +3 -1
package/dist/index.js
CHANGED
|
@@ -10259,12 +10259,14 @@ const waitingTime = 150;
|
|
|
10259
10259
|
*/ focus() {
|
|
10260
10260
|
// In some browsers we need to move the focus to the input first.
|
|
10261
10261
|
// Otherwise, the color picker doesn't behave as expected.
|
|
10262
|
+
// In Chrome, after selecting the color via slider the first time,
|
|
10263
|
+
// the editor collapses the selection and doesn't apply the color change.
|
|
10262
10264
|
// In FF, after selecting the color via slider, it instantly moves back to the previous color.
|
|
10263
10265
|
// In all iOS browsers and desktop Safari, once the saturation slider is moved for the first time,
|
|
10264
10266
|
// editor collapses the selection and doesn't apply the color change.
|
|
10265
10267
|
// See: https://github.com/cksource/ckeditor5-internal/issues/3245, https://github.com/ckeditor/ckeditor5/issues/14119,
|
|
10266
10268
|
// https://github.com/cksource/ckeditor5-internal/issues/3268.
|
|
10267
|
-
/* istanbul ignore next -- @preserve */ if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari)) {
|
|
10269
|
+
/* istanbul ignore next -- @preserve */ if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari || env.isBlink)) {
|
|
10268
10270
|
const input = this.hexInputRow.children.get(1);
|
|
10269
10271
|
input.focus();
|
|
10270
10272
|
}
|