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

Fix: Prevent overflow of selected options in RTL mode #851

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AbdelaaliElou
Copy link

Issue

Enregistrement 2024-12-16 165830

Summary

Fixed an issue where selected options in Tom Select would overflow to the right when rtl mode was enabled. This bug caused a visual misalignment and unexpected behavior in right-to-left layouts.

Changes Made

  • Adjusted CSS to ensure proper alignment of selected items in RTL mode.

Impact

This fix resolves a UI issue in RTL mode and enhances the user experience for right-to-left languages.

Testing

  • Tested with multiple selected options in RTL mode.
  • Verified no regression in LTR behavior.

### Summary
Fixed an issue where selected options in Tom Select would overflow to the right when `rtl` mode was enabled. This bug caused a visual misalignment and unexpected behavior in right-to-left layouts.

### Changes Made
- Adjusted CSS to ensure proper alignment of selected items in RTL mode.

### Impact
This fix resolves a UI issue in RTL mode and enhances the user experience for right-to-left languages.

### Testing
- Tested with multiple selected options in RTL mode.
- Verified no regression in LTR behavior.
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

Successfully merging this pull request may close these issues.

1 participant