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(MessageBar): Swap out textarea #319

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

rebeccaalpert
Copy link
Member

Try contentedible div instead of textarea (was having problems on small screens in Firefox/Safari).

@patternfly-build
Copy link

patternfly-build commented Nov 15, 2024

@rebeccaalpert rebeccaalpert force-pushed the contenteditable branch 2 times, most recently from 66c6290 to 338047b Compare November 15, 2024 19:16
Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love that after I've started typing a message, then fire a blur event, the draft i've started typing gets erased.

I'm also noticing that if I paste formatted text into the text area, it get's lost now when it didn't used to.

The following snippet produces the first screenshot in the currently implementation, and the second screenshot in your PR

Let's see

Hi

currently on patternfly.org
Screenshot 2024-11-18 at 1 33 04 PM

now in your PR:
Screenshot 2024-11-18 at 1 34 37 PM

@rebeccaalpert rebeccaalpert force-pushed the contenteditable branch 3 times, most recently from a9e7f37 to 8260bcc Compare November 19, 2024 00:15
@nicolethoen nicolethoen merged commit 8b55ef1 into patternfly:main Nov 19, 2024
5 checks passed
Copy link

🎉 This PR is included in version 2.1.0-prerelease.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

v6 chatbot - Replace AutoTextArea from 'react-textarea-auto-witdth-height'
3 participants