Skip to content

If you remove a RenderBox whose parent used its baseline, we'll throw later #2874

Description

@Hixie
  1. Run Stocks in checked mode
  2. Drawer > Settings
  3. Enable "show baselines" mode
  4. Back
  5. Drawer

or:

  1. Run Stocks in checked mode
  2. Drawer > Settings
  3. Enable "show baselines" mode
  4. Toggle material grid on and off.

The problem is RenderBox.markNeedsLayout() doesn't check if it has a parent. The actual fix is probably just parent.markNeedsLayout(); -> parent?.markNeedsLayout();.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions