Glavin001/atom-preview

TextEditorComponent.measureDimensions is deprecated.

mikedizon opened this issue · 0 comments

Assigning editor 630's height explicitly via position: 'absolute' and an assigned top and bottom implicitly assigns the autoHeight property to false on the editor.
This behavior is deprecated and will not be supported in the future. Please explicitly assign autoHeight on this editor.

TextEditorComponent.measureDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:1011:20)
TextEditorComponent.becameVisible (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:295:12)
TextEditorComponent.checkForVisibilityChange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:993:16)
atom-text-editor.attachedCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:87:22)
atom-preview-editor.initialize (/Users/mdizon/.atom/packages/preview/lib/preview-view.coffee:83:12)
<unknown> (/Users/mdizon/.atom/packages/preview/lib/preview.coffee:112:32)