Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable click to close in iOS (#301) #304

Closed
wants to merge 1 commit into from
Closed

Conversation

zhantx
Copy link

@zhantx zhantx commented Jan 10, 2017

Fixes #[301].

Changes proposed:

Upgrade Path (for changed or removed APIs):

Acceptance Checklist:

  • All commits have been squashed to one.
  • The commit message follows the guidelines in CONTRIBUTING.md.
  • Documentation (README.md) and examples have been updated as needed.
  • If this is a code change, a spec testing the functionality has been added.
  • If the commit message has [changed] or [removed], there is an upgrade path above.

} else {
this.focusContent();
}
handleOverlayClick(event) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lint: handleOverlayClick (event).

}

handleContentMouseUp = () => {
this.shouldClose = false;
handleContentClick(event) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lint: handleContentClick (event).

Copy link
Collaborator

@diasbruno diasbruno Jan 10, 2017

Choose a reason for hiding this comment

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

Also...

Lint: static handleContentClick (event).

eslint/class-methods-use-this

If a class method does not use this, it can safely be made a static function.

Hope this one is correct.

@zhantx
Copy link
Author

zhantx commented Jan 11, 2017

Sorry I don't have time to work through all the tests and this is my first time creating a pull request, perhaps I can figure it out this weekend. But so far everything works fine on my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants