Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix asset selector dialog #102

Merged
merged 1 commit into from
Oct 5, 2023
Merged

fix: fix asset selector dialog #102

merged 1 commit into from
Oct 5, 2023

Conversation

samsiegart
Copy link
Collaborator

@samsiegart samsiegart commented Oct 5, 2023

fixes #100

Also fixes issue on mobile where dialog was being cut off on the top and bottom (see screenshot). Both of these issues were because the dialog was too deeply nested in the component tree and the positioning was behaving unexpectedly as a result. Also removed some unnecessary prop drilling in favor of useAtom

Before

Screenshot 2023-10-05 at 11 43 39 AM

After

Screenshot 2023-10-05 at 11 42 38 AM

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 5, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dc5f9a9
Status: ✅  Deploy successful!
Preview URL: https://bf499dd4.dapp-psm.pages.dev
Branch Preview URL: https://fix-asset-selector.dapp-psm.pages.dev

View logs

@samsiegart samsiegart requested a review from turadg October 5, 2023 18:44
Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the screenshots and description of changes

@samsiegart samsiegart merged commit 9164cc3 into main Oct 5, 2023
@samsiegart samsiegart deleted the fix-asset-selector branch October 5, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Swap button is hot/clickable behind 'Select Asset' selector dropdown
2 participants