AnimatedCollectionViewLayout icon indicating copy to clipboard operation
AnimatedCollectionViewLayout copied to clipboard

RTL Support

Open abdoh476 opened this issue 4 years ago • 1 comments

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

abdoh476 avatar Mar 30 '20 08:03 abdoh476

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 🌹❤️

abdulazizSi avatar Feb 03 '21 01:02 abdulazizSi