mirror of
https://github.com/mempool/mempool.git
synced 2025-04-09 20:39:18 +02:00
Merge pull request #5724 from mempool/natsoni/textarea-nav
Fix textarea keyboard navigation
This commit is contained in:
commit
6432f72664
@ -41,7 +41,7 @@ export class AppComponent implements OnInit {
|
||||
|
||||
@HostListener('document:keydown', ['$event'])
|
||||
handleKeyboardEvents(event: KeyboardEvent) {
|
||||
if (event.target instanceof HTMLInputElement) {
|
||||
if (event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) {
|
||||
return;
|
||||
}
|
||||
// prevent arrow key horizontal scrolling
|
||||
|
Loading…
x
Reference in New Issue
Block a user