[EuiCard] title
Prop Causing onClick
to Trigger Twice When Clicked
#6545
Labels
title
Prop Causing onClick
to Trigger Twice When Clicked
#6545
The
title
prop onEuiCard
is causing theonClick
method to trigger twice when the title is clicked. It appears that this only happens when a React Node is passed intotitle
instead of a string.Steps to Reproduce:
console.log
statements for each time the title is clickedconsole.log
statement for each time the body is clickedCodeSandbox Link: https://codesandbox.io/s/card-onclick-demo-jue9fj?file=/demo.tsx
11C30291-17E8-4539-AE92-CFEBD89B6E09_2_0_a.mov
The text was updated successfully, but these errors were encountered: