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

fix(components): prevent interactions on disabled Selector #493

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

connor-baer
Copy link
Member

Purpose

When a Selector is disabled, it should no longer be interactive, i.e. the onClick handler should not fire.

Approach and changes

  • Disable interactions with pointer-events: none

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@connor-baer connor-baer added 🐞 bug Something isn't working as it should ready for review labels Oct 15, 2019
@codecov
Copy link

codecov bot commented Oct 15, 2019

Codecov Report

Merging #493 into canary will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           canary     #493   +/-   ##
=======================================
  Coverage   79.59%   79.59%           
=======================================
  Files         171      171           
  Lines        2475     2475           
  Branches      445      445           
=======================================
  Hits         1970     1970           
  Misses        388      388           
  Partials      117      117
Impacted Files Coverage Δ
src/components/Selector/Selector.js 100% <ø> (ø) ⬆️

@connor-baer connor-baer changed the title fix(components): disable interactions on disabled Selector fix(components): prevent interactions on disabled Selector Oct 15, 2019
@connor-baer connor-baer merged commit 119e83e into canary Oct 15, 2019
@connor-baer connor-baer deleted the bugfix/selector-disabled branch October 15, 2019 17:48
@ilyanoskov
Copy link
Contributor

🎉 This PR is included in version 1.2.2-canary.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ilyanoskov
Copy link
Contributor

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working as it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants