Skip to content
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

Merged
merged 2 commits into from
Mar 2, 2018

Conversation

armandgray
Copy link

No description provided.

@@ -206,7 +211,7 @@ export default class MentionsTextInput extends Component {
}

isSelectionReplaced() {
return this.triggerMatrix
Copy link

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;
Copy link

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.

@greghe
Copy link

greghe commented Mar 2, 2018

Please add isRetting declaration.

triggerMatrix: Array<Object>;
isResetting: boolean;
isTrackingStarted: boolean;
isSelectionChangeHandled: boolean;
Copy link

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"

@greghe
Copy link

greghe commented Mar 2, 2018

👍 👍

Copy link

@gabrielfirmacion gabrielfirmacion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@armandgray armandgray merged commit 613b6e8 into master Mar 2, 2018
@armandgray armandgray deleted the feature-chat-mentions-upgrade branch March 2, 2018 22:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants