arunghosh / arunghosh/react-heatmap-grid
xLabelWidth Prop Not Adjusting Label Width
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I'm experiencing an issue with the xLabelWidth prop in react-heatmap-grid. Despite setting different values for xLabelWidth, the width of the x-axis labels does not change as expected.
Steps to Reproduce:
Implement react-heatmap-grid in a React project.
Set the xLabelWidth prop to a specific value, e.g., 60.
Observe that the x-axis label width does not reflect the provided value.
Expected Behavior:
The x-axis labels should respect the xLabelWidth value and adjust accordingly.
Actual Behavior:
The x-axis labels remain unchanged regardless of the xLabelWidth value.
Environment:
react-heatmap-grid version: 0.9.1
React version8.3.1
Browser & OS: Widhows Chrome
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in react-heatmap-grid 0.9.1 by setting xLabelWidth to 60 and inspect the component entry point that lays out x-axis labels. The issue is resolved when changing xLabelWidth changes the rendered label width as expected.
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
- Mostly clear
- Newbie friendliness
- 38/100