Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve contextMenuItem onClick event handler argument (#265)
This change preserves the `onClick` handler's signature of `<T>(event: React.MouseEvent<T>) => void` even if a `panel` is given. Additionally, the event will be removed from the React event pooling system due to the async nature of the `requestAnimationFrame` callback.
- Loading branch information