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

Dropdown & Popover fixes for dimensions and scrolling #608

Merged
merged 9 commits into from
Oct 1, 2019

Conversation

AquiGorka
Copy link
Contributor

These changes fix the following issues (from aragonone/product#196)

  • Finance Mobile
    • Fix DropDown in new deposit
    • New Transfer Deposit on Mobile: DropDown Popover does not scroll so it is not possible to select one of the first tokens nor close the list options without choosing one.

These changes take into consideration if the wide prop is set or not to
compute the min width value for the button, it also refactors the way
the caret spacing is considered for the rendered placeholder (adds a
container with max width) and updates the ref callback to consider the
list items instead of the container (which had spacing applied to it)
@auto-assign auto-assign bot requested a review from bpierre September 30, 2019 13:38
@AquiGorka AquiGorka mentioned this pull request Oct 1, 2019
71 tasks
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

Looking good apart from vw / vh and a few questions / minor things!

src/components/DropDown/DropDown.js Outdated Show resolved Hide resolved
src/components/DropDown/DropDown.js Outdated Show resolved Hide resolved
src/components/Popover/Popover.js Outdated Show resolved Hide resolved
src/components/DropDown/DropDown.js Show resolved Hide resolved
@AquiGorka AquiGorka force-pushed the fix/dropdown-popover-dimensions-and-scrolling branch from 90bc776 to 6dd256a Compare October 1, 2019 13:36
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀

@AquiGorka AquiGorka merged commit 647d6e5 into newstyle Oct 1, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix/dropdown-popover-dimensions-and-scrolling branch October 1, 2019 14:39
bpierre pushed a commit that referenced this pull request Nov 18, 2019
DropDown: add mask for label
Popover: use container boundaries to avoid overflow; add scrolling
bpierre pushed a commit that referenced this pull request Nov 18, 2019
DropDown: add mask for label
Popover: use container boundaries to avoid overflow; add scrolling
bpierre pushed a commit that referenced this pull request Nov 20, 2019
DropDown: add mask for label
Popover: use container boundaries to avoid overflow; add scrolling
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.

2 participants