[GH-1315] Fix card automatically scrolls to bottom (#1573)
* fix: card automatically scrolls to bottom * fix: update jest snapshots
This commit is contained in:
parent
b5a194b62c
commit
ffbd22afb8
|
@ -36,7 +36,7 @@ exports[`components/cardDetail/cardDetailContents should match snapshot 1`] = `
|
||||||
class="EasyMDEContainer"
|
class="EasyMDEContainer"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="CodeMirror cm-s-easymde CodeMirror-wrap CodeMirror-focused"
|
class="CodeMirror cm-s-easymde CodeMirror-wrap"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="overflow: hidden; position: relative; width: 3px; height: 0px;"
|
style="overflow: hidden; position: relative; width: 3px; height: 0px;"
|
||||||
|
|
|
@ -3,14 +3,15 @@
|
||||||
exports[`components/content/TextElement return a textElement 1`] = `
|
exports[`components/content/TextElement return a textElement 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="MarkdownEditor octo-editor "
|
class="MarkdownEditor octo-editor active"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="octo-editor-preview octo-placeholder"
|
class="octo-editor-preview octo-placeholder"
|
||||||
|
style="display: none;"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="octo-editor-active Editor"
|
class="octo-editor-active Editor"
|
||||||
style="visibility: hidden; position: absolute; top: 0px; left: 0px;"
|
style=""
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="test-id-wrapper"
|
id="test-id-wrapper"
|
||||||
|
@ -140,6 +141,7 @@ exports[`components/content/TextElement return a textElement and do a blur event
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="octo-editor-preview octo-placeholder"
|
class="octo-editor-preview octo-placeholder"
|
||||||
|
style=""
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="octo-editor-active Editor"
|
class="octo-editor-active Editor"
|
||||||
|
|
|
@ -33,7 +33,6 @@ const MarkdownEditor = (props: Props): JSX. Element => {
|
||||||
autoDownloadFontAwesome: true,
|
autoDownloadFontAwesome: true,
|
||||||
toolbar: false,
|
toolbar: false,
|
||||||
status: false,
|
status: false,
|
||||||
autofocus: true,
|
|
||||||
spellChecker: true,
|
spellChecker: true,
|
||||||
nativeSpellcheck: true,
|
nativeSpellcheck: true,
|
||||||
minHeight: '10px',
|
minHeight: '10px',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user