r-anime/awards-web

Navigating between tabs using the same component retains component state

Closed this issue · 2 comments

Since components aren't re-rendered when you switch tabs but retain the same picker component, their state carries over until you force an update.

Example screenshots:

This happens when navigating between categories that have the same component for their pickers. Moving to the selections tab correctly re-renders the component.

Assigning to @Geo1088 since I have no clue how to go about this.

This is probably a side effect of using that big v-else-if chain rather than subroutes for categories, I'll see how I handled this last year

Resolved in 1e54057 and 31c737f