Handle resize of minimap container
Closed this issue · 0 comments
helrond commented
Describe the bug
The minimap uses a callback ref to calculate the size of squares. This div sometimes has an initial width or height of zero, causing the minimap to not render. I've added a setTimeout
which seems to resolve this issue, but we should use a resize observer or a library which wraps that API.