Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikoletavnv
Copy link
Member

Fixes #9584

@nikoletavnv
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-textarea growing UX issue
1 participant