Removed e.stopPropagation
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pau 2022-09-29 14:14:05 +02:00
parent 7ac7189a8a
commit 796988bb18
3 changed files with 22650 additions and 5 deletions

View File

@ -59,9 +59,6 @@ export default class inputAccount extends Field {
pointerPosition++;
e.target.setSelectionRange(pointerPosition, pointerPosition);
// Prevent the keyUp event from happening
e.stopPropagation();
return false;
});
});
@ -84,7 +81,7 @@ function getCaretPosition(targetElement) {
// The caret position is selection length
caretPosition = selectionOrCaretPos.text.length;
} else if (targetElement.selectionStart || targetElement.selectionStart == '0') // Firefox Support
} else if (targetElement.selectionStart || targetElement.selectionStart == 0) // Firefox Support
caretPosition = targetElement.selectionStart;
// Return results

22647
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@
},
"dependencies": {
"axios": "^0.25.0",
"bcrypt": "^5.0.1",
"bmp-js": "^0.1.0",
"compression": "^1.7.3",
"fs-extra": "^5.0.0",
@ -40,7 +41,7 @@
"puppeteer": "^7.1.0",
"read-chunk": "^3.2.0",
"require-yaml": "0.0.1",
"sharp": "^0.27.1",
"sharp": "^0.31.0",
"smbhash": "0.0.1",
"strong-error-handler": "^2.3.2",
"uuid": "^3.3.3",