-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
stopping ios change text after reset #13
Conversation
@@ -206,7 +211,7 @@ export default class MentionsTextInput extends Component { | |||
} | |||
|
|||
isSelectionReplaced() { | |||
return this.triggerMatrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, I never would have seen that extra space
@@ -76,11 +76,16 @@ export default class MentionsTextInput extends Component { | |||
} | |||
|
|||
resetTextbox() { | |||
this.isResetting = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When adding new member variables, it's a good practice to declare them above the constructor:
isResetting: boolean;
It's also a good practice to add declarations for existing members, time permitting.
Please add |
triggerMatrix: Array<Object>; | ||
isResetting: boolean; | ||
isTrackingStarted: boolean; | ||
isSelectionChangeHandled: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You win today's "go the extra mile award"
👍 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
No description provided.