File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
nativescript-core/ui/text-view Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ class NoScrollAnimationUITextView extends UITextView {
8888export class TextView extends TextViewBaseCommon {
8989 nativeViewProtected : UITextView ;
9090 private _delegate : UITextViewDelegateImpl ;
91- private _isShowingHint : boolean ;
91+ _isShowingHint : boolean ;
9292 public _isEditing : boolean ;
9393
9494 private _hintColor = ( majorVersion <= 12 || ! UIColor . placeholderTextColor ) ? UIColor . blackColor . colorWithAlphaComponent ( 0.22 ) : UIColor . placeholderTextColor ;
@@ -129,7 +129,9 @@ export class TextView extends TextViewBaseCommon {
129129 }
130130
131131 public textViewShouldBeginEditing ( textView : UITextView ) : boolean {
132- this . showText ( ) ;
132+ if ( this . _isShowingHint ) {
133+ this . showText ( ) ;
134+ }
133135
134136 return true ;
135137 }
You can’t perform that action at this time.
0 commit comments