-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
is right to left supported? #345
Comments
@mostafakazemi what's different when it comes to scrolling with RTL languages? The scrolling is done from current place to the target - no matter where it is on the page, it should still scroll to it whether it's above, below, left or right - unless I'm missing something here? |
Scroll start from right in RTL pages. When click an element, set |
@mostafakazemi Ok I see - but there is no scrollToElement() {
const el = document.querySelector('#element')
this.$scrollTo(el, {
x: true,
container: '#container',
offset: -el.clientWidth
})
} |
i have a right to left layout and it is in Persian (a RTL language). I need a new option for VueScrollTo. something like an option called
reverseDirection: true
. is it ok to submit a pr for that?The text was updated successfully, but these errors were encountered: