Skip to content

Quickly creating and destroying complex LayoutContainers can result in console errors #101

Description

@NIKENIT

Current Behavior

Sometimes, quickly creating and destroying LayoutContainers with "overflow: hidden" or "overflow: scroll" can result in console errors. I was not able to reproduce it consistently, but I crashes while trying to redraw the trackpad mask for an already destroyed container. It happends because the recalculation of the mask happends 1ms after the background has already been drawn, and does not check if the container is stil alive at that point.

Possible Solution

Check if the container is destroyed and do not attempt to recalculate the mask if it is.

  • version: 3.0.2

Image

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions