Revert "Use the computed style to find the height"

This reverts commit 822cd78055.
This commit is contained in:
joshaber
2016-02-25 15:41:55 -05:00
parent 2af53231f1
commit dd780a7c5a

View File

@@ -731,7 +731,8 @@ class TextEditorComponent
measureDimensions: ->
return unless @mounted
{position, height} = getComputedStyle(@hostElement)
{position} = getComputedStyle(@hostElement)
{height} = @hostElement.style
if position is 'absolute' or height
@presenter.setAutoHeight(false)