Skip to content

Commit

Permalink
Resolver node cube click should == button click (elastic#73085) (elas…
Browse files Browse the repository at this point in the history
…tic#73114)

* Resolver node cube click == button click
  • Loading branch information
bkimmel authored Jul 23, 2020
1 parent 27fca55 commit 023ee63
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,23 @@ const UnstyledProcessEventDot = React.memo(
<svg
viewBox="-15 -15 90 30"
preserveAspectRatio="xMidYMid meet"
onClick={
() => {
handleFocus();
handleClick();
} /* a11y note: this is strictly an alternate to the button, so no tabindex is necessary*/
}
role="img"
aria-labelledby={labelHTMLID}
style={{
display: 'block',
width: '100%',
height: '100%',
position: 'absolute',
top: '0',
left: '0',
outline: 'transparent',
border: 'none',
}}
>
<g>
Expand Down

0 comments on commit 023ee63

Please sign in to comment.