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

Multiselect Dropdown - Selections not Displaying #3088

Open
jflegere opened this issue Aug 28, 2024 · 2 comments
Open

Multiselect Dropdown - Selections not Displaying #3088

jflegere opened this issue Aug 28, 2024 · 2 comments
Labels
state/awaiting-more-info Any issue or pull request which is awaiting more info

Comments

@jflegere
Copy link

Bug Report

I have two multiselect dropdowns on my page - one near the top and one at the bottom. The one near the top is working as expected - selections are displayed above the list and can be removed. For the one near the bottom of the page, the dropdown opens upward. When I make selections, they are hidden by the list of remaining selections. I know that items are being selected - they are no longer in the list and a console log of the hidden 's value is showing expected results.

Steps to reproduce

  1. Create a multiselect dropdown at the bottom of a page
  2. Select items
  3. Close the dropdown list

Expected result

A "button" for each item selected, in the correct location (above the list)

Actual result

"Buttons" not displayed

Testcase

Screenshot (if possible)

You can't see in the screenshots, but this dropdown is at the bottom of the page and opens upward.

Open dropdown:
image

Select "District of Columbia":
image

Console:
image

Select "Maryland":
image

Console:
image

Close dropdown (selections not displayed):
image

Version

2.9.3

@jflegere jflegere added state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/bug Any issue which is a bug or PR which fixes a bug labels Aug 28, 2024
@lubber-de
Copy link
Member

Please create a jsfiddle containing your code for easier investigation. I suspect a falsy use of .dropdown() which targets both dropdowns

@lubber-de lubber-de added state/awaiting-more-info Any issue or pull request which is awaiting more info and removed type/bug Any issue which is a bug or PR which fixes a bug state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged labels Sep 3, 2024
@jflegere
Copy link
Author

jflegere commented Sep 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state/awaiting-more-info Any issue or pull request which is awaiting more info
Projects
None yet
Development

No branches or pull requests

2 participants