Skip to content

The term "modal" is used in confusing ways by the widgets layer #388

@Hixie

Description

@Hixie

We use the term "modal" to mean two related but not identical things:

  • Routes that go into the navigator's "modal" list (as opposed to the ephemeral list); this is exposed in particular on the NavigatorObserver "didPushModal" method. These could be ModalRoute subclasses but need not be (in particular, StateRoute isn't).
  • Routes that subclass ModalRoutes (which could be modal or ephemeral).

We should clean that up.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions