diff --git a/modules/util/get_set_value.js b/modules/util/get_set_value.js index cca02ddbd..da5ad741d 100644 --- a/modules/util/get_set_value.js +++ b/modules/util/get_set_value.js @@ -28,6 +28,8 @@ export function utilGetSetValue(selection, value, shouldUpdate) { } function stickyCursor(func) { + // only certain input element types allow manipulating the cursor + // see https://html.spec.whatwg.org/multipage/input.html#concept-input-apply const supportedTypes = ['text', 'search', 'url', 'tel', 'password']; return function() { if (!supportedTypes.includes(this.type)) {