Glavin001 / atom-preview

:construction: (NO LONGER MAINTAINED) :construction: - :eyeglasses: Ultimate previewer of source code in Atom.
https://atom.io/packages/preview
MIT License
51 stars 23 forks source link

TextEditorComponent.measureDimensions is deprecated. #134

Closed mikedizon closed 2 years ago

mikedizon commented 7 years ago

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)