Last active
September 24, 2018 07:41
-
-
Save marcel-ploch/4697b696080014528c724471df532138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public textChanged(): void { | |
if (isIOS) { | |
if (this.textView) { | |
if (this.textView.ios.contentSize.height > (100)) { | |
this.textViewHeight = 100; | |
this.textHeight = this.textView.ios.contentSize.height = 100 + this.contentSizeStartValue | |
} else { | |
this.textViewHeight = this.textView.ios.contentSize.height; | |
this.textHeight = this.contentSizeStartValue + this.textView.ios.contentSize.height; | |
} | |
} | |
} else { | |
/* this.textHeight = this.textView.android.height > 100 ? 100 : this.textView.android.height; | |
const textView: TextView = <TextView>this.page.getViewById('androidTextView');*/ | |
this.textHeight = 100; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment