arunghosh / arunghosh/react-heatmap-grid

Some dividers are randomly missing

Open
#103 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
40
PR merge metrics
No merged PRs in 30d

Description

For some reason, the white dividers between rows are randomly not appearing sometimes:

![image](https://user-images.githubusercontent.com/10589070/58454627-e9c57f00-80d3-11e9-91b7-60983ab22fe1.png)
My code to render the heatmap looks like

```
({
background: `rgb(40, 167, 59, ${1 - (max - value) / (max)})`,
})}
title={(value, unit) => `${value}/${actors.size}`}
/>
```
Any idea what could be causing this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the missing dividers with the provided HeatMap props and inspect the component's row and cell rendering behavior. Confirm the conditions that make the white dividers disappear, then verify that the dividers render consistently across the affected rows.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.