Skip to content

Commit

Permalink
typings struggle
Browse files Browse the repository at this point in the history
  • Loading branch information
betocantu93 committed Jun 26, 2023
1 parent db4fdc5 commit 69afda9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default class EuiMarkdownEditorComponent extends Component<EuiMarkdownEdi
let { isPreviewing, autoExpandPreview, height, previewRef, currentHeight } =
this;
if (isPreviewing && autoExpandPreview && height !== 'full' && previewRef) {
// @ts-expect-error
//@ts-ignore
if (previewRef.scrollHeight > currentHeight) {
// scrollHeight does not include the border or margin
// so we ask for the computed value for those,
Expand Down

0 comments on commit 69afda9

Please sign in to comment.