fix: Unable to focus into description in collection edit

This commit is contained in:
Tom Moor committed 2020-01-02 22:49:40 -08:00
1 parent 9c66a14fec
commit 7bbddcaebf
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class Editor extends React.Component<Props> {
}
const StyledEditor = styled(RichMarkdownEditor)`
flex-grow: ${props => (props.grow ? 'initial' : '0')};
flex-grow: ${props => (props.grow ? 1 : 0)};
justify-content: start;
> div {
+1
View File
@@ -51,6 +51,7 @@ class InputRich extends React.Component<Props> {
<Editor
onBlur={this.handleBlur}
onFocus={this.handleFocus}
grow
{...rest}
/>
) : (