Commit 1390a2f
Updated README.md with a warning (#303)
* Updated README.md with a warning
I spent a lot of time debugging the `onClick` for `MenuItem` and after trying again and again I found in the issue tracker a comment explaining that every single instance of `ContextMenu` and `ContextMenuTrigger` needs to have a unique `id` they cannot share one even if they are the same component or use the same menu.
I think this a good change to make to the docs since it's very small and can help people prevent people from wasting time debugging. Thank you for your time.
* Update README.md1 parent 378c113 commit 1390a2f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments