Input field takes 3 lines for 1-line browse command [webview-command-actions] (#1155)
This commit is contained in:
parent
58606a801c
commit
08247698c3
|
@ -74,7 +74,7 @@
|
||||||
:multiline (not single-line-input?)
|
:multiline (not single-line-input?)
|
||||||
:default-value (or @input-text "")
|
:default-value (or @input-text "")
|
||||||
:editable (not @sending-in-progress?)
|
:editable (not @sending-in-progress?)
|
||||||
:blur-on-submit single-line-input?
|
:blur-on-submit false
|
||||||
:on-focus #(dispatch [:set-chat-ui-props {:input-focused? true
|
:on-focus #(dispatch [:set-chat-ui-props {:input-focused? true
|
||||||
:show-emoji? false}])
|
:show-emoji? false}])
|
||||||
:on-blur #(do (dispatch [:set-chat-ui-props {:input-focused? false}]))
|
:on-blur #(do (dispatch [:set-chat-ui-props {:input-focused? false}]))
|
||||||
|
|
Loading…
Reference in New Issue