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

[Bug]: alignment issue when selecting and deselecting items #712

Open
lovasoa opened this issue Apr 14, 2024 · 0 comments
Open

[Bug]: alignment issue when selecting and deselecting items #712

lovasoa opened this issue Apr 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lovasoa
Copy link

lovasoa commented Apr 14, 2024

Bug description

When selecting an item with ctrl+click, the 1px grey border around it disappears, which makes the entire list of options jump by 2px

image
image

Expected behavior

selecting an option shouldn't change the position of other options

Steps to reproduce

  1. In a multiselect, select two options
  2. click on the first one to make it become blue
  3. expected result: the other option doesn't move
  4. actual result: the other option moves by 2px because the border around the first one disappeared

Additional context

  • OS: all
  • Browser all
  • Version latest (2.3.1)
  • Device: all

found while trying to integrate TomSelect with SQLPage

@lovasoa lovasoa added the bug Something isn't working label Apr 14, 2024
lovasoa added a commit to lovasoa/tom-select that referenced this issue Apr 14, 2024
@lovasoa lovasoa mentioned this issue Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant