Skip to content

Border aroun PieChart component #3170

Description

@Wh1teF0x
  • I have searched the issues of this repository and believe that this is not a duplicate.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityIssues associated with accessibility

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions