Open seho0808 opened 3 years ago
If you include react-heatmap-grid inside a div with long height that is overflow-y-scroll, the ylabels follow scroll. I tried changing the css inside chrome developer mode from
style="position: absolute; text-align: right; padding-right: 5px; padding-top: 13.5135px; width: 200px;"
to
style="position: static; text-align: right; padding-right: 5px; padding-top: 13.5135px; width: 200px;"
and it seemed to work. Is there any reason you guys set it to position: absolute for the ylabels' div?
Where did you added the position:static ?
If you include react-heatmap-grid inside a div with long height that is overflow-y-scroll, the ylabels follow scroll. I tried changing the css inside chrome developer mode from
style="position: absolute; text-align: right; padding-right: 5px; padding-top: 13.5135px; width: 200px;"
to
style="position: static; text-align: right; padding-right: 5px; padding-top: 13.5135px; width: 200px;"
and it seemed to work. Is there any reason you guys set it to position: absolute for the ylabels' div?