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: Prevent clicks when pressing Enter/Space with meta key on non-native Tabbable #534

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

diegohaz
Copy link
Member

@diegohaz diegohaz commented Feb 4, 2020

When clicking on a non-native Tabbable component (e.g. <Tabbable as="div" />) by pressing Enter or Space in conjunction with the meta key (e.g. ), the button should not be activated.

Does this PR introduce a breaking change?

No

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 4, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c68a5e2:

Sandbox Source
mystifying-framework-0who9 Configuration

@codecov
Copy link

codecov bot commented Feb 4, 2020

Codecov Report

Merging #534 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #534      +/-   ##
==========================================
- Coverage   96.39%   96.36%   -0.03%     
==========================================
  Files          99       99              
  Lines        1496     1515      +19     
  Branches      475      481       +6     
==========================================
+ Hits         1442     1460      +18     
- Misses         54       55       +1
Impacted Files Coverage Δ
packages/reakit/src/Tabbable/Tabbable.ts 100% <100%> (ø) ⬆️
packages/reakit/src/Dialog/Dialog.tsx 94.23% <0%> (-0.37%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24797e0...c68a5e2. Read the comment docs.

@ariakit-bot
Copy link

Deploy preview for reakit ready!

Built with commit c68a5e2

https://deploy-preview-534--reakit.netlify.com

@diegohaz diegohaz merged commit 7f0c8cf into master Feb 4, 2020
@diegohaz diegohaz deleted the fix/tabbable-click-with-meta-key branch February 4, 2020 01:43
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.

2 participants