Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

AP-919 Stop propagation of clicks when disabled using input as #122

Merged

Conversation

jgzuke
Copy link
Contributor

@jgzuke jgzuke commented Oct 2, 2019

  • First add a failing test for the case when using as={<div ... >}. The other test uses as= but passes a button so the disabled prop already works as intended.
  • Uncomment the line that fixes the test

Fixes https://apollographql.atlassian.net/browse/AP-919

@jgzuke jgzuke added the minor Increment the minor version when merged label Oct 2, 2019
@justinanastos justinanastos self-requested a review October 2, 2019 17:33
src/Button/Button.spec.tsx Outdated Show resolved Hide resolved
@jgzuke jgzuke merged commit ebb0ab0 into master Oct 3, 2019
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v2.12.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants