Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll not working with CSS Transform Scale on Firefox #34

Open
wutmikee opened this issue Mar 6, 2014 · 3 comments
Open

Scroll not working with CSS Transform Scale on Firefox #34

wutmikee opened this issue Mar 6, 2014 · 3 comments

Comments

@wutmikee
Copy link

wutmikee commented Mar 6, 2014

I have a DIV that's scaled back to about 0.65. In doing so, custom scroll won't work. It simply doesn't scroll at all. The issue is very similar to this user's problem on SO (diff plug-in), however for me the scroll bar just flickers and doesn't do anything.

http://stackoverflow.com/questions/20093804/custom-javascript-scrollbars-jscrollpane-with-transform-scale-error

Any ideas? Love your script, but may have to switch if this can't be fixed.

@wutmikee
Copy link
Author

wutmikee commented Apr 3, 2014

Any luck?

@mzubala
Copy link
Owner

mzubala commented Apr 4, 2014

The problem is:

I also encountered the same problem. The problem is that when applying the "Scale" function $.width() always returns the original value, but $.position() returns depending on the scale.

I don't have time to address this currently. Perhaps this workaround could work: try applying a scrollbar to an outer container and scale transform to an inner container. Let me know if this works.

@wutmikee
Copy link
Author

Does not work. No luck on the container. Worse then the current state...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants