Reproduction link
https://recharts.org/en-US/examples/TwoLevelPieChart
Steps to reproduce
Click on any part of PieChart component
What is expected?
Nothing should happens unless "onClick" property provided
What is actually happening?
Border around element appears
| Environment |
Info |
| Recharts |
v2.3.1 |
| React |
18.2.0, any version that used on reproduction link |
| System |
Windows 21H2 |
| Browser |
Chrome 108.0.5359.125 |
As I can see it couldn't be disabled with
onClick = {(payload, event) => event.preventDefault()}
and no DOM changes happens.
Can't be reproduced on codesandbox.
https://imgur.com/a/4Yj0GiA
https://imgur.com/a/GuxuPKO
Reproduction link
https://recharts.org/en-US/examples/TwoLevelPieChart
Steps to reproduce
Click on any part of PieChart component
What is expected?
Nothing should happens unless "onClick" property provided
What is actually happening?
Border around element appears
As I can see it couldn't be disabled with
onClick = {(payload, event) => event.preventDefault()}
and no DOM changes happens.
Can't be reproduced on codesandbox.
https://imgur.com/a/4Yj0GiA
https://imgur.com/a/GuxuPKO