mirror of
https://github.com/urbit/shrub.git
synced 2024-12-26 05:23:35 +03:00
ChatEditor: fix mobile input reset
This commit is contained in:
parent
622e78a659
commit
aecde2332f
@ -232,6 +232,7 @@ const ChatEditor = React.forwardRef<CodeMirrorShim, ChatEditorProps>(({ inCodeMo
|
|||||||
fontFamily={inCodeMode ? 'Source Code Pro' : 'Inter'}
|
fontFamily={inCodeMode ? 'Source Code Pro' : 'Inter'}
|
||||||
fontSize={1}
|
fontSize={1}
|
||||||
lineHeight="tall"
|
lineHeight="tall"
|
||||||
|
value={message}
|
||||||
rows={1}
|
rows={1}
|
||||||
style={{ width: '100%', background: 'transparent', color: 'currentColor' }}
|
style={{ width: '100%', background: 'transparent', color: 'currentColor' }}
|
||||||
placeholder={inCodeMode ? 'Code...' : 'Message...'}
|
placeholder={inCodeMode ? 'Code...' : 'Message...'}
|
||||||
|
Loading…
Reference in New Issue
Block a user