Merge pull request #2557 from daboe01/placeholderselectablefix

fixed: cursor blinks for placeholder
This commit is contained in:
Alexandre Wilhelm authored and GitHub committed 2017-09-07 18:21:12 -07:00
commit cd223be88a
1 file changed
+1 -1
+1 -1
View File
@@ -1999,7 +1999,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (BOOL)shouldDrawInsertionPoint
{
return (_selectionRange.length === 0 && [self _isFocused]);
return (_selectionRange.length === 0 && [self _isFocused] && !_placeholderString);
}
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)flag