-
Notifications
You must be signed in to change notification settings - Fork 587
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(Breadcrumb/Carousel/Pagination): handle icons in RTL mode #2633
Conversation
commit: |
@@ -124,9 +126,14 @@ const emits = defineEmits<PaginationEmits>() | |||
const slots = defineSlots<PaginationSlots>() | |||
|
|||
const appConfig = useAppConfig() | |||
|
|||
const { isRTL } = useLocale() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use dir === 'rtl'
instead of adding another ref?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of repetition dir === 'rtl'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just keep dir.value === 'rtl'
, it's not much chars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check the last update
icons
in RTL mode
Thanks! π |
π Linked issue
β Type of change
π Description
π Checklist