Giter Site home page Giter Site logo

Doesn't work on RTL layouts about sly HOT 5 OPEN

darsain avatar darsain commented on August 19, 2024
Doesn't work on RTL layouts

from sly.

Comments (5)

darsain avatar darsain commented on August 19, 2024

There is no support for RTL, and I don't know if there ever will be. Maybe if I'll encounter a day where I'll have reeeally nothing else to do.

from sly.

tsi avatar tsi commented on August 19, 2024

I assume this day hasn't arrived yet.
I'd like to help with that, any pointers?

from sly.

darsain avatar darsain commented on August 19, 2024

Rather not. Sly needs to be rewritten, there is a lot of issues with it right now, so modifying current version is a time wasted.

The rewrite will change the way how sly works and implementing RTL shouldn't be a problem. No ETA though. It has already been on a back burner for half a year now. Paying the bills has a priority right now :/

from sly.

exside avatar exside commented on August 19, 2024

RTL support would not only be nice for rtl languages but also if you want to maintain a good content/markup structure, e.g. the topmost item of the list would be the most recent item (item 0 = newest), that need a float:right instead of float:left on the li's but sly gets confused with that...

and what would you consider as "lot of issues"? Just starting with using sly so I'm not sensitive to problems yet =)

from sly.

darsain avatar darsain commented on August 19, 2024

Issues are mostly in the design and structure of Sly. If you don't mind how it works and what it is right now, that there are no issues for you.

But in general:

  1. It's a jQuery plugin.
  2. Inlines stuff that should be left for dependencies (when rewritten from jQ plugin into a proper component).
  3. Because of the speed optimization oversight, it requires an intermediate slidee element.
  4. Tries to do a lot of stuff, like scrolling basic content, or even parallax...
  5. Tries to do even more by going crazy with options for things that should be left for code, like buttons, automated cycling, the whole "active item" logic... all these things should be left for developers to implement with Sly's API, it shouldn't be a magical option.

Sly was written in old days when jQuery was a good choice for web development, thus it's written badly and bloated with stupid shit :)

from sly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.