anusii / solidpod

MIT License
1 stars 2 forks source link

SOLID POD: Fail to navigate to the specified widget #157

Open cdawei opened 3 months ago

cdawei commented 3 months ago

There are more than one scenarios where the navigator does not redirect to the specified child widget, e.g. two issues captured by

Although a workaround that seemed to work is using Navigator.push instead of Navigator.pushReplacement for the widget in question, but there are a few problems for this workaround:

  1. It needs to be done for each case in keypod (a user of solidpod) which really should not worry about an issue like this.
  2. It seems unclear why using Navigator.push worked

There is likely a hidden issue in the solidpod that is the root cause, so understanding it and systematically resolve it in solidpod is preferred.

cdawei commented 3 months ago

Move Kevin's comment from https://github.com/anusii/solidpod/issues/149 to this issue for a continued discussion.


Navigator.push:

Navigator.pushReplacement:

When to Use Each

Use Navigator.push when:

Use Navigator.pushReplacement when:

cdawei commented 2 months ago

Related to the more general issue #159