You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we open an 'Edit review' form for a user editing their review, and press back, we expect to come back to the fully open drawer and the review tab: like with Add Review or Edit Location forms, which work correctly. Instead, we go back to the map, and open the drawer.
My guess for the cause is that the location state in redux gets reset when going to the review form, but it shouldn't.
Going from the location page to the 'Edit review' form briefly shows a white screen, which takes longer if the review contains a photo. This is not necessary since we already have the review data fetched - it came with the location - so we could be opening the form straight away.
The text was updated successfully, but these errors were encountered:
wbazant
changed the title
Going back from 'Edit review' form comes back to the half open drawer
Data refetched when going between location and review
Dec 28, 2024
wbazant
changed the title
Data refetched when going between location and review
Data refetched when going between location and edit review form
Dec 28, 2024
My guess for the cause is that the location state in redux gets reset when going to the review form, but it shouldn't.
The text was updated successfully, but these errors were encountered: