-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
Keys Home, End, ArrowUp, ArrayDown are not working when editing text in a <textarea> or <ion-textarea> when presented in an popover because ev.preventDefault() is called in overlays.ts:376 for 'ArrowDown', and other keys below.
Expected Behavior
Cursor should be able to move in a textarea when pressing those keys.
Steps to Reproduce
- create component with a
<textarea>or<ion-textarea> - open the component in a popover
- focus the textarea input and enter some text with multiple lines
- try moving the cursor with up, down, home and end keys
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 5.4.16 (C:\Users\4ewou\AppData\Roaming\nvm\v14.15.4\node_modules\ionic)
Ionic Framework : @ionic/angular 6.0.1
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.15.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.10
OS : Windows 10
Additional Information
No response