Skip to content

Web demo stops repainting after clicking #3633

@YgorSouza

Description

@YgorSouza

Describe the bug

On the web demo, the UI stops repainting after you click anywhere, and only starts again when you move the mouse. Also, when you press Ctrl+C, it pauses for a fraction of a second. This does not affect the native desktop demo.

To Reproduce
Steps to reproduce the behavior:

  1. Open the web demo
  2. Select continuous mode or open something that is animated, like plot demo or the fractal clock
  3. Click anywhere on the screen and leave the mouse completely still
  4. The UI stops repainting until you move the mouse

Expected behavior

The UI should continue to repaint as normal after clicking or pressing Ctrl+C.

Screenshots

web_demo_click_bug.mp4

Desktop (please complete the following information):

  • OS: Fedora 38, Windows 11
  • Browser Firefox
  • Version 120

Smartphone (please complete the following information):
(not tested)

Additional context

This seems to have been caused by #3623.

Metadata

Metadata

Assignees

Labels

bugSomething is brokenwebRelated to running Egui on the web

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions