Skip to content

[Advanced Select] Dropdown not closing in Chrome #414

Closed
@oliverhaas

Description

@oliverhaas

Summary

The advanced select dropdown stays open on Chrome when trying to close it.

Steps to Reproduce

  1. Go to https://preline.co/docs/advanced-select.html with Chrome (version see below).
  2. Open a advanced select dropdown.
  3. Try to close it again with unfocus or button click.

I have two similar but independent Ubuntu 22.04 systems with Chrome 127.0.6533.72 and a Windows system with Chrome 127.0.6533.73, all exhibit this behavior. Firefox and Chromium (126.0.X) do not seem to have this issue. Chrome version 126.0.X does not have the issue either.

EDIT: Checked out 128.0.X (unstable) as well, and the issue persists. So I don't think the problem will disappear on Chrome's end.

Demo Link

https://preline.co/docs/advanced-select.html

Expected Behavior

Dropdown should disappear again on unfocus, button click, etc.

Actual Behavior

Dropdown stays open and glitched out, slightly shifted (margin changed).
I can see that the hidden class is not set, but some other attributes are changed.

Screenshots

Normal opening behavior:
image

But stays open after trying to close it:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions