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]: Caret position is slightly off, compared to Bootstrap 4 custom-select #732

Open
pereorga opened this issue Jun 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@pereorga
Copy link

Bug description

For some reason, it is 5px additional to the left:

.ts-wrapper.single .ts-control:not(.rtl):after {
    right: calc(.75rem + 5px);
}
SCR-20240617-tmfs

Expected behavior

When I add the following overrides, it gets fixed:

/* Align better with custom-select styles */
.ts-wrapper.single .ts-control:not(.rtl)::after {
  right: 0.75rem;
}
SCR-20240617-thry

Steps to reproduce

Add a Tom Select single-value element and compare the caret position with a Bootstrap 4 select that has the "custom-select" class.

Additional context

  • OS: All
  • Browser: All
  • Version: latest (Bootstrap 4)
@pereorga pereorga added the bug Something isn't working label Jun 17, 2024
Copy link

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale No activity label Oct 16, 2024
@pereorga
Copy link
Author

I believe I can't remove the stale label.

@github-actions github-actions bot removed the stale No activity label Oct 17, 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