Fixed Lightbox thumbnails doesn’t scroll properly in RTL (CSS cache related)

To be honest, the lightbox (which is a third party library) doesn't have great support for RTL, but I think there could be something else at play here related to CSS caching.

For example if I switch to RTL it breaks, but then if I do something which rebuilds the CSS cache, then it seems to work better... not entirely convinced it's doing the correct things in terms of the directions things move etc. but it certainly it's "less broken" in that things don't disappear off the screen.

Sometimes I can switch back to LTR and now LTR is broken.

So, I think the lightbox itself is working correctly, but perhaps something is off with our CSS cache.
 
You might be able to “fix” it yourself by making a change to lightbox.leas and then reverting it.
 
Not expert with "less" codes, I will wait for the fix from you guys ;)(y)
He didn't suggest writing code, he suggested to make a change to the template, for the whole sake of having it changed, so you can do anything you want there, from a single letter to real code to a poem. All that's necessary is something being added or deleted, so XF will mark the template as “customized“. After that, you hit revert and the RTL error should be fixed - and your changes reverted, obviously.
 
This is changed for the next release. Language changes will trigger the styles last update date to be updated which will invalidate a number of caches to ensure the language changes take effect.
 
Back
Top Bottom