Skip to content

Commit 3902513

Browse files
committed
Fix drag bar issue.
1 parent dc36bb2 commit 3902513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MDEditor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class MDEditor extends React.PureComponent<MDEditorProps, IMDEditorState>
188188
onScroll={this.handleScroll}
189189
className={`${prefixCls}-preview`}
190190
/>
191-
{visiableDragbar && !this.state.fullscreen && (
191+
{visiableDragbar && this.state.preview !== 'preview' && !this.state.fullscreen && (
192192
<DragBar
193193
prefixCls={prefixCls}
194194
height={this.state.height as number}

0 commit comments

Comments
 (0)