-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[🐴] Empty chat prompt #4132
[🐴] Empty chat prompt #4132
Conversation
Your Render PR Server URL is https://social-app-pr-4132.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cp5tc68l6cac73e6n65g. |
|
<KeyboardStickyView offset={{closed: -bottomOffset, opened: 0}}> | ||
{!blocked ? ( | ||
{convoState.status === ConvoStatus.Disabled ? ( | ||
<ChatDisabled /> | ||
) : blocked ? ( | ||
footer | ||
) : ( | ||
<> | ||
{convoState.status === ConvoStatus.Disabled ? ( | ||
<ChatDisabled /> | ||
) : ( | ||
<MessageInput onSendMessage={onSendMessage} /> | ||
{isConvoActive(convoState) && convoState.items.length === 0 && ( | ||
<ChatEmptyPill /> | ||
)} | ||
<MessageInput onSendMessage={onSendMessage} /> | ||
</> | ||
) : ( | ||
footer | ||
)} | ||
</KeyboardStickyView> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved everything into KeyboardStickyView
so that the pill follows the keyboard up.
const onLongPress = useCallback(() => { | ||
playHaptic() | ||
menuControl.open() | ||
}, [menuControl]) | ||
}, [playHaptic, menuControl]) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated but while testing i realized there was no haptic here and it felt off
No description provided.