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

Unexpected selected element in multi select #7022

Open
jandrew44 opened this issue Oct 21, 2024 · 0 comments
Open

Unexpected selected element in multi select #7022

jandrew44 opened this issue Oct 21, 2024 · 0 comments

Comments

@jandrew44
Copy link

Environment

  • Package version(s):
    @blueprintjs/core: "^5.13.0"
    @blueprintjs/select: "^5.2.4"
  • Operating System:
    Windows 10 Home Edition
  • Browser name and version:
    Google Chrome 129.0.6668.101

Code Sandbox

Reproducible on the blueprint sample page.
https://blueprintjs.com/docs/#select/multi-select

Steps to reproduce

  1. Open multi select, note the first element is active:
    Screenshot_11
  2. Click on any other element in the list but do not release the mouse button, note this element becomes active:
    Screenshot_12
  3. Move mouse cursor to another element and release the mouse button, note active element is not changed
  4. Press Enter button on a keyboard

Actual behavior

Both active element and first element in the list are added to the selection:
Screenshot_13

Expected behavior

Only active element is added to the selection.

Possible solution

None.

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

No branches or pull requests

1 participant