#4262·xyflow

`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

Additional context

No response