Closed erichfi closed 1 week ago
Because you can click outside the sidebar and you have the close button, the close (X) icon should not be sticky / follow you as you scroll.
And a figma link
https://www.figma.com/design/FOOlLEFaBt87atw6CPkA5P/Passport-App?node-id=11995-9957&t=0CwgI6oGe0GMPfvS-1
@erichfi Does this ticket include the onchain sidebar? Or should I address that in https://github.com/passportxyz/passport/issues/2762
Might want to move the CancelButton I wrote here to it's own file and reference it for this sidebar too (for the "X" button at the top) https://github.com/passportxyz/passport/blob/191f3c526dfb31fa190884a5c469a196c3e033b4/app/components/OnchainSidebar.tsx#L22
User Story:
As a mobile user, I want to easily close the sidebar, So that I can navigate without frustration or accidental logout.
Acceptance Criteria
GIVEN the user is on a mobile device with the sidebar open, WHEN the user taps on the area outside the sidebar, THEN the sidebar should close.
GIVEN the user is on a mobile device with the sidebar open, WHEN the user taps a new close button under the "Verify" section, THEN the sidebar should close.
Product & Design Links:
Tech Details:
Open Questions:
Notes/Assumptions: