RTL not work correctly
sajjad5221 opened this issue · comments
Hi, I'm using this package with vue3 but I have a problem with something. When I click on the previous icon, the next image is displayed to me and vice versa.
This also happens for the key left and key right.
Hi, can you provide a repo?
Thanks for your response. I apologize for being late.
This is the sample code:
https://codesandbox.io/s/vue-easy-light-box-rtl-bug-mivpo
I add props rtl
to enable RTL in v1.3.0. Try this version, it may help you.
I add props
rtl
to enable RTL in v1.3.0. Try this version, it may help you.
It's not working properly yet. Can you check sandbox link again? I changed the package version to 1.3.0 but it still didn't work.
Try this, I'm not sure if this is what you need.
https://codesandbox.io/s/vue-easy-light-box-rtl-bug-forked-ztb6ne?file=/src/App.vue
<template>
<vue-easy-lightbox
ref="lightboxRef"
rtl
/>
</template>
Yes. It's worked. thank you.