primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Component: textArea with pInputTextArea and AutoResize=true scroll issue

Open erber014 opened this issue 2 years ago • 4 comments

Describe the bug

When using

Environment

Using windows 10 and latest version of Firefox.

Reproducer

https://stackblitz.com/edit/mffv5p?file=src%2Fapp%2Fdemo%2Finput-textarea-auto-resize-demo.html

Angular version

16.2.0

PrimeNG version

16.5.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.18.0

Browser(s)

No response

Steps to reproduce the behavior

Go to reproducer stackblitz.

  1. Open sidebar.
  2. Put focus on the textarea or button in sidebar.
  3. Scroll down and try clicking on the button at the bottom. The button will not be clicked and we will instead scroll up in the sidebar. User will need to scroll down manually and then click the button one more time which is annoying

Expected behavior

I expect to be able to interact with page elements in sidebar with a textarea even when textarea is focused.

erber014 avatar Nov 02 '23 14:11 erber014

Also reproducable with Version 16.6.0.

sandrotonon avatar Nov 21 '23 13:11 sandrotonon

waiting for a fix, this lib do the job : https://www.npmjs.com/package/ngx-autosize

stephanebouget avatar Jan 10 '24 14:01 stephanebouget

Still Reproducible in Version 16.9.1

javierjsp avatar Feb 13 '24 21:02 javierjsp