Skip to content

fix(modal): fix event listener for modal#127

Merged
eddywashere merged 1 commit intoreactstrap:masterfrom
TheSharpieOne:bugfix/iss-126
Sep 8, 2016
Merged

fix(modal): fix event listener for modal#127
eddywashere merged 1 commit intoreactstrap:masterfrom
TheSharpieOne:bugfix/iss-126

Conversation

@TheSharpieOne
Copy link
Copy Markdown
Member

Fixes #126
Change the event listeners for click and keyup in modal
to set useCapture to true to trigger the handler before
any other handler.

Fixes reactstrap#126
Change the event listeners for click and keyup in modal
to set `useCapture` to true to trigger the handler before
any other handler.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling f9b3aaf on TheSharpieOne:bugfix/iss-126 into 8fd0761 on reactstrap:master.

@eddywashere
Copy link
Copy Markdown
Member

I did not now about useCapture other than it was safer to use false. Makes way more sense now. Thanks for looking into this and fixing it. 🙌

@eddywashere eddywashere merged commit c778608 into reactstrap:master Sep 8, 2016
@TheSharpieOne TheSharpieOne deleted the bugfix/iss-126 branch September 8, 2016 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants