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

web: Fix Power Select auto-choosing bug #2040

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

backspace
Copy link
Contributor

When I run this locally, it fixes the problem where the prepaid
card chooser in the merchant creation workflow looks like
it’s not opening but is really selecting the first card and
closing.

Thanks to @johanrd for documenting and @Aierie for finding:
cibernox/ember-power-select#1408

When I run this locally, it fixes the problem where the prepaid
card chooser in the merchant creation workflow looks like
it’s not opening but is really selecting the first card and
closing.

Thanks to @johanrd for documenting and @Aierie for finding:
cibernox/ember-power-select#1408
@backspace
Copy link
Contributor Author

This does move the dropdown down but I think it’s worth it!

1px-screencast 2021-09-03 10-04-49

@Aierie
Copy link
Contributor

Aierie commented Sep 3, 2021

This fixes one part of the issue, I think another part is the dropdown taking up space and pushing itself under the cursor as it scrolls. Wondering if we should not allow the dropdown to take up space in that way.

@Aierie
Copy link
Contributor

Aierie commented Sep 3, 2021

single-click-select

This selection is done in a single click as the dropdown expanding pushes itself and the rest of the content up

Copy link
Collaborator

@burieberry burieberry left a comment

Choose a reason for hiding this comment

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

It's still a bit funky for me locally but let's try it

@backspace
Copy link
Contributor Author

ya further revisions are still possible of course!

@backspace backspace merged commit f622625 into main Sep 3, 2021
@delete-merged-branch delete-merged-branch bot deleted the web/power-select-margin-to-fix-autoselect branch September 3, 2021 16:01
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.

3 participants