ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

fix(ui5-textarea): fix visual issues in growing ui5-textarea

Open nikoletavnv opened this issue 1 year ago • 1 comments

Fixes #9584

nikoletavnv avatar Aug 20 '24 12:08 nikoletavnv

There is an issue related how text is sanitized in the mirror div element. Some characters are escaped (as '&, '"", etc ) which leads to different text representation inside the textarea and the mirror div. One possible solution is to sanitize the div content only before submitting it when in a form. Currently the encoding is done during the onBeforeRendering phase.

nikoletavnv avatar Sep 11 '24 07:09 nikoletavnv