IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.55k stars 507 forks source link

RTL support #177

Open pazaricha opened 9 years ago

pazaricha commented 9 years ago

Is there a chance to add RTL support for this awesome plugin? :palm_tree:

IonDen commented 9 years ago

Hi, what is RTL? :)

понедельник, 5 января 2015 г. пользователь Paz Aricha написал:

Is there a chance to add RTL support for this awesome plugin? [image: :palm_tree:]

— Reply to this email directly or view it on GitHub https://github.com/IonDen/ion.rangeSlider/issues/177.

Denis Ineshin JavaScript developer | IonDen.com http://ionden.com

pazaricha commented 9 years ago

Oh, RTL stands for Right-to-Left writing direction. For languages like Hebrew and Arabic Basically the whole plugin should flip it's direction, not just in css terms but also in the drag and drop terms.

IonDen commented 9 years ago

Ah, ok, this rtl) will think about it

вторник, 6 января 2015 г. пользователь Paz Aricha написал:

Oh, RTL stands for Right-to-Left writing direction. For languages like Hebrew and Arabic Basically the whole plugin should flip it's direction, not just in css terms but also in the drag and drop terms.

— Reply to this email directly or view it on GitHub https://github.com/IonDen/ion.rangeSlider/issues/177#issuecomment-68832280 .

Denis Ineshin JavaScript developer | IonDen.com http://ionden.com

MMaKenZi commented 8 years ago

any progress on this request?

IonDen commented 8 years ago

@MMaKenZi, RTL support will be part of upcoming 3.0 version.

MMaKenZi commented 8 years ago

Great news

IonDen commented 8 years ago

Feature implemented. Wait for 3.0 release.

vladcosorg commented 8 years ago

Great! Is there a beta version that I could test?

IonDen commented 8 years ago

@chetzof, soon. There will be 2.1.5 release before with some bug fixes.

danielcox7 commented 8 years ago

Hi Guys, any idea when this RTL feature might be released, I am on a timeframe and may have to think about using a different Range Slider if time does not permit. Great slider BTW, thanks in advance.

IonDen commented 8 years ago

@danielcox7, hi. I'm the only developer of the plugin) To the question. Version 3.0 with RTL support is about 55% ready. I expect the release around September 2016.

danielcox7 commented 8 years ago

Thank you for getting back to me so quickly, this helps. Good work

immwi commented 8 years ago

Fantastic work, thank you! Looking forward to the RTL feature as well!

MMaKenZi commented 8 years ago

hi

any progress on this?

IonDen commented 8 years ago

@MMaKenZi, 3.0 version is ~75% ready

MMaKenZi commented 7 years ago

so thirsty to see the new version ^_^

danielcox7 commented 7 years ago

Second that MMakenZi, although I did get around the RTL issues myself by playing around with the data and flipping values, but would be better to use a dedicated RTL slider instead of a kinda hack :)

sayjeyhi commented 7 years ago

Waiting for new release ... (^ - ^)

MMaKenZi commented 7 years ago

Any news from the new version?

IonDen commented 7 years ago

Wait for Santa Claus)

MMaKenZi commented 7 years ago

I hope to see a great present 😆

MohsenElgendy commented 7 years ago

Been 89 days since you said that you finished ~75%. Any news ? I appreciate your hard work.

IonDen commented 7 years ago

It is 88% now) Sorry for taking so long, but new version is much more complex then 2.x

MMaKenZi commented 7 years ago

Any progress on the 88%?

IonDen commented 7 years ago

@MMaKenZi, stacked a little. Have to fix not work related issues first. But soon will continue.

MMaKenZi commented 7 years ago

any good news about version 3.0 ? ^_^

JavaTMP commented 6 years ago

Hello @IonDen , thank you a lot for this awesome plugin. Any update about RTL support or version 3.0

IonDen commented 6 years ago

Sorry guys. It will take more time then i expected.

Midoyan commented 6 years ago

@IonDen When will be RTL version available? Need it so much =(

IonDen commented 6 years ago

@Midoyan, for now you can use this workaround: http://jsfiddle.net/IonDen/gbmszmp4/

Midoyan commented 6 years ago

@IonDen How to make it work normaly if min is positive number? For example if min is 40 and max 90 it gives 50 and 0 istead 90 and 40. How to fix it?

JavaTMP commented 6 years ago

Hi @IonDen I updated your fiddle here http://jsfiddle.net/javatmp/oyctL9pz/ to be rtl but still i have coloring issue so I switch the colors. Could you review it for any improvements related CSS?

IonDen commented 6 years ago

@JavaTMP, yep, you can change skin css as you like

Justice4Code commented 4 years ago

Greetings. any progress on RTL? can we fork and make it happen ourselves?

IonDen commented 4 years ago

@Justice4Code, currently this is a workaround: https://jsfiddle.net/IonDen/65rq31a7/

mostafaznv commented 4 years ago

@Justice4Code, currently this is a workaround: https://jsfiddle.net/IonDen/65rq31a7/

This trick only change direction of grids. I created another RTL version of IonRangeSlider.

Maybe it's not the best solution, but at least it works.

https://codepen.io/mostafaznv/pen/BayemoP

IonDen commented 4 years ago

@mostafaznv nice workaround.

connectwithAbhishek commented 2 years ago

I have a simpler workaround that works perfectly for me. Simply reverse your data values, and from and to properties. Change the CSS styling for a background color for the line .irs-line. Reverse the bg color for the slid portion and the remaining portion and it will work in a reverse mode.

Please see this https://codepen.io/MasterAb/pen/YzaPezx

P.S Thanks @IonDen for your hard work on the plugin.

almosafer2 commented 2 years ago

Hello @IonDen , thank you a lot for this awesome plugin. Any update about RTL support or version 3.0

connectwithAbhishek commented 2 years ago

Hello @IonDen , thank you a lot for this awesome plugin. Any update about RTL support or version 3.0

Hi @almosafer2, in case you need it working please see my above approach. Let me know if you need any help. Happy to help.

Thanks