primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.28k stars 4.56k forks source link

Tree: textArea in Template mode does not respond to a arrow keys #16204

Open zbychpo opened 1 month ago

zbychpo commented 1 month ago

Describe the bug

Tree: textArea in Template mode does not respond to a arrow keys

Environment

Reproduced in all browsers.

Reproducer

https://stackblitz.com/edit/github-nqgnwm-uj3o1a

Angular version

17.3.11

PrimeNG version

17.18.6

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.x.

Browser(s)

Firefox

Steps to reproduce the behavior

  1. Go to Tree -> Template OR go to the attached stackblitz environment.
  2. Click on the toggle button, and input box(textArea) appears.
  3. Try inputting a text to the input field.
  4. Try to use arrow keys.

Expected behavior

I should be able to use arrows in the textarea field.

mehmetcetin01140 commented 1 month ago

Hi @zbychpo , I’ve provided a StackBlitz example for you.

Example = https://stackblitz.com/edit/github-nqgnwm-5nnwda?file=src%2Fapp%2Fapp.component.ts