Merge pull request #2557 from daboe01/placeholderselectablefix

fixed: cursor blinks for placeholder
This commit is contained in:
Alexandre Wilhelm
2017-09-07 18:21:12 -07:00
committed by GitHub
+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