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

💄 feat: MessageInputTextAreaに縦の伸長を追加 #4375

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

reiroop
Copy link
Contributor

@reiroop reiroop commented Sep 27, 2024

MessageInputではonFocus時にそうでないときの2倍まで、MessageEditorは無制限に伸長するように

MessageInputではonFocusのみ、MessageEditorでは常に伸長するように
Copy link

MessageInputTextAreaコンポーネントにexists-height-limitプロパティを追加し、MessageEditorでfalseに設定しました。
@reiroop reiroop requested a review from nokhnaton September 27, 2024 15:56
@reiroop reiroop self-assigned this Sep 27, 2024
@reiroop reiroop added the design label Sep 27, 2024
Copy link
Contributor

@nokhnaton nokhnaton left a comment

Choose a reason for hiding this comment

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

2024-10-15.202542.mp4

ちょっと触ってみたけど、focusしたときにサイズが変わるのは仕様としてわかりにくい気がするので、大きさを自分で変えられるとかの方がいいのかなと思った。(スマホのときの使いやすさは要検討)
編集の挙動はこれで良さそう。

@reiroop reiroop marked this pull request as draft October 19, 2024 09:21
@reiroop
Copy link
Contributor Author

reiroop commented Oct 20, 2024

トグルボタンを用意してmax-heightの大小を切り替えられるようにする方針

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

Successfully merging this pull request may close these issues.

メッセージが長くなったときに入力欄が縦に伸びてほしい
2 participants