PrimeDAO / prime-deals-dapp

DAO to DAO negotiations facilitated, ratified, and archived.
https://www.prime.xyz/deals
3 stars 1 forks source link

Reg. Wizard: Upon clicking proceed the new stage should appear from the very top #1092

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

Steps to reproduce:

  1. Navigate to open proposal or partnered deal reg.wiz: https://prime-deals-dapp-git-refac-deals-au2-curvelabs.vercel.app/initiate/token-swap/open-proposal/lead-details
  2. fill in details and click proceed.

Currently: The new stages appear from the middle [Uploading... Create-an-Open-Proposal-Lead-Details-Prime-Deals.png]

Expected: New stage should appear from the top

BartuCulha commented 1 year ago

I am able to reproduce here: https://user-images.githubusercontent.com/24368665/182591288-e4c78b9c-90b2-4d33-a4ca-1d671adee00a.mp4

giladt commented 1 year ago

Well, it's not a BUG, it's a feature (BTW this behavior is taken from Launch)!

Explanation:

The app keeps the last position of a visited page, so if you navigate back to this page, it will go to the same position you've left it. On your first visit to the app- you'll see the top of the next stage when pressing proceed, but if you've visited this stage before, it will scroll to the last position you've left it (positions of each page are stored in the local-storage). @BartuCulha @blink-km @hiaux0

BartuCulha commented 1 year ago

yeah i thought we ditched that idea because it's not a great UX :D

also this issue occured while visiting the page for the first time but I cannot reproduce it anymore. We can close this card

giladt commented 1 year ago

Moving to Accepted as current behavior mimics AU1.

Other options to consider:

cc: @hiaux0