Comments (6)
Hey @RedPlugDesign 👋🏼
Thanks for opening this issue! While I can't give you a time estimate, we'll look into this and get back to you.
In the meantime, any additional context about how the example "Default (LTR)" you provided differs from the "RTL" would be useful; IE are there any significant CSS/JS changes other than float: left
vs float: right
between the two implementations?
from drift.
Mainly just the floats, padding and text alignment. Aside from the column container, nothing specifically applied to the images or zoom container
from drift.
Hey @RedPlugDesign,
I wanted to let you know that we had a chance to discuss this as a team and determined that we don't currently have the bandwidth to tackle RTL support right now. I'll leave this ticket open and we'll come back to it when we've had a chance to clear our backlog.
In the meantime, if anyone else would like to see support for this feature comment or react to this post. This will help us prioritize this task moving forward.
from drift.
Disappointing, but understandable.
from drift.
To enable RTL support for external zoom, simply include the following code.
/rtl:ignore/
.rtl {
.drift-zoom-pane {
img {
left: 0;
}
}
}
from drift.
Thanks for the follow-up, but this is not working for me. I am using the trl
class in <body>
, but this had no affect. Oddly enough, I cannot apply any styles to that image. Example, I tried to change the opacity for something obvious and it had to affect. I am using 1.4.1, but added the latest and tested with no affect.
I also tried this on the Demo CodePen with no results.
Is there a way to force the drift-zoom-pane
div to always be present in order to troubleshoot this easier?
from drift.
Related Issues (20)
- document is undefined when library included in SSR application HOT 1
- The image is loading twice HOT 1
- I would like to Drift over more than one image HOT 2
- NPM package README needs to be updated HOT 2
- Demo url on readme.md file points to 404 error
- Action Required: Fix Renovate Configuration
- Content-Security-Policy blocking inline styles HOT 3
- The demo on the index.html page from the drift-main folder works very crookedly. HOT 2
- Dependency Dashboard
- Add passive option to event listeners HOT 4
- feat: lazy-load images HOT 3
- The automated release is failing 🚨
- Passive event listeners don't allow preventDefault() HOT 5
- paneContainer is moving with touch dragging HOT 4
- Is there a way to show the zoomed area around the mouse? HOT 1
- TypeError: driftImgs.map is not a function HOT 2
- Call for Maintainer(s) HOT 11
- Is there RTL exemple
- Documentation for usage in react? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drift.