Editor: Standard UI Cursors (text, grab, col-resize, pointer) Turn Invisible (White) on Light Backgrounds (Windows 10 Only)
What went wrong?
OS: Windows 10 (Not reproducible on macOS)
Framework: Tauri (Chromium / WebKit rendering), I also faced the same behavior in Postman (Electron)
When using a light theme or rendering text over a light background inside the editor area, certain cursor types suddenly become completely white and blend into the background, making them invisible.
- This issue specifically affects the following cursor styles:
text(I-beam),grab,col-resize, andpointer. - It appears to be tied to how the Windows hardware/XOR cursor inversion interacts with GPU-accelerated editor layers in Chromium.
What should happen?
Cursors should remain dark/contrasted or apply correct inversion logic when hovering over light backgrounds, ensuring continuous visibility
Where it happens:
• Only inside the code/text Editor component over text inputs and layout boundaries.
Where it does NOT happen (Exclusions):
• Default Cursor: The standard arrow cursor (default) works perfectly fine everywhere outside the editor zone (e.g., sidebars, menus, settings).
• Non-text blocks: The bug disappears, and cursors render correctly when hovering over non-text elements within the editor, such as images, embedded PDFs, or native UI buttons.
Steps to Reproduce & Flakiness Notice (Crucial Detail):
This bug is highly elusive and hard to capture. I attempted to take a screen recording using a Screen Recorder application, but the moment the recording/capture session started, the cursor immediately went back to normal (became visible). Once the recording software stops capturing the screen, the bug eventually returns.
Root Cause Suggestion for Devs:
Windows 10 uses hardware-level pixel inversion (XOR) for system cursors like text and resize handles. The fact that launching a Screen Recorder temporarily "fixes" the bug strongly indicates a conflict with GPU hardware acceleration, DWM (Desktop Window Manager) composition, or overlays. When hovering over complex DOM layers inside the editor, the Windows XOR math fails, rendering the cursor pure white on a white background—until a recording app forces a redraw/different capture mode on the display.
1 Comment
Sign in to comment

I managed to record the video. The quality isn’t the best, but you can clearly see that all the cursors are white only in the Editor area.