fkhadra / fkhadra/react-contexify

Props not passed when Items inside intermediary component

Open
#132 9 comments 13 reactions 1 assignee Claimed by @fkhadra View on GitHub
reproduciton needed
Dominant language
TypeScript
Stars
1.2k
Forks
132
PR merge metrics
No merged PRs in 30d

Description

Hi! While running similar code to the following, I find that, when Item is placed inside a fragment, or inside of another component that goes into Menu, the click event received by the handler is undefined, and the props aren't passed on.

```jsx

Item 1
{asd === dsa && (
<>
Item 2
Item 3

)}

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.