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

RTL Support #56

Open
abdoh476 opened this issue Mar 30, 2020 · 1 comment
Open

RTL Support #56

abdoh476 opened this issue Mar 30, 2020 · 1 comment

Comments

@abdoh476
Copy link

is it still not supporting rtl language ?
when making "flipsHorizontallyInOppositeLayoutDirection" true
the animation is very corrupted

@abdulazizSi
Copy link

is it still not supporting rtl language ?
when making "flipsHorizontallyInOppositeLayoutDirection" true
the animation is very corrupted

is it still not supporting rtl language ?
when making "flipsHorizontallyInOppositeLayoutDirection" true
the animation is very corrupted

I think i figured it out,
if your project is RTL and you are using

extension UICollectionViewFlowLayout { open override var flipsHorizontallyInOppositeLayoutDirection: Bool { return true } }

the solution is to simply return false, but if you still need that peace of code for something else, do this:
extension AnimatedCollectionViewLayout { open override var flipsHorizontallyInOppositeLayoutDirection: Bool { return false } }

this is worked for me perfectly 😍
thank you @KelvinJin for this awesome library 🌹❤️

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

No branches or pull requests

2 participants