arunghosh / arunghosh/react-grid-heatmap
onMouseOver on cells
Open
bug
help wanted
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I am using this library for a project, I'm trying to add an onMouseOver event listener to cells.
I tried adding it to the `cellRender` prop as below however it does not seem to be firing?
```
(
{
console.log(`Hover(${x}, ${y})`)
}}
title={`Pos(${x}, ${y}) = ${value}`}
>
console.log(`Hover(${x}, ${y})`)
}}
title={`Pos(${x}, ${y}) = ${value}`}
>
)}
/>
```
Are you able to give me some guidance on how I can get this to work?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the HeatMapGrid implementation and trace how the cellRender prop's returned element is rendered. Reproduce the supplied JSX and verify that hovering a cell triggers the expected Hover(x, y) console output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100