`Controls` are just a white rectangle when using `colorMode="dark"` before rendering correctly
Author: mcmxcdevCreated May 8, 2024Updated Jul 8, 2026
Describe the Bug
As the title indicates, the Controls shouldn't render a white box as long as the viewport is not fully ready.
Also, there is a white strip below the Controls which doesn't look like it's supposed to be there.
The Minimap on the other hand seems to be fine.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
I can provide reproduction steps tomorrow.
Expected behavior
Controls should probably not load too early and with the correct color scheme.
Screenshots or Videos
Screencast from 2024-05-07 18-14-26.webm
Platform
- OS: Ubuntu 23.10
- Browser: Brave
- Version: Version 1.65.126 Chromium: 124.0.6367.118 (Official Build) (64-bit)
Additional context
No response
Source: xyflow/xyflow