Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix(attachment) - more option button invoke correctly action on space/enter#1452

Merged
kolaps33 merged 6 commits intomasterfrom
mituron/1450-more-option-button
Jun 17, 2019
Merged

fix(attachment) - more option button invoke correctly action on space/enter#1452
kolaps33 merged 6 commits intomasterfrom
mituron/1450-more-option-button

Conversation

@kolaps33
Copy link
Collaborator

@kolaps33 kolaps33 commented Jun 4, 2019

@DustyTheBot
Copy link
Collaborator

Warnings
⚠️ There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

Generated by 🚫 dangerJS

@codecov
Copy link

codecov bot commented Jun 4, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@7b96bd0). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1452   +/-   ##
=========================================
  Coverage          ?   73.21%           
=========================================
  Files             ?      822           
  Lines             ?     6194           
  Branches          ?     1782           
=========================================
  Hits              ?     4535           
  Misses            ?     1654           
  Partials          ?        5
Impacted Files Coverage Δ
...ges/react/src/components/Attachment/Attachment.tsx 42.3% <0%> (ø)

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 7b96bd0...4bab11d. Read the comment docs.

@kolaps33 kolaps33 added accessibility All the Accessibility tasks and bugs should be tagged with this. 🚀 ready for review and removed 🚧 WIP labels Jun 13, 2019
performClick = e => {
e.stopPropagation()
this.handleClick(e)
if (e.currentTarget === e.target) {
Copy link
Contributor

Choose a reason for hiding this comment

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

based on agreement with @layershifter and @miroslavstastny this is ok for now, but it shows a bigger issue we have related to click handling of components that have parent/child clickable elements, especially if the elements trigger click on keyboard events (button, a)

This might help move the logic to behaviors: #1502

@kolaps33 kolaps33 merged commit fae15a8 into master Jun 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the mituron/1450-more-option-button branch June 17, 2019 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

accessibility All the Accessibility tasks and bugs should be tagged with this. 🚀 ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants