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
Vertical scroll not working ? #16
Comments
Hello! Could you upload the example, that illustrates your problem? I can't reproduce this bug here. |
Here you go :) |
There is no problem. Your image resizes container vertically, so it fits completely in the container. Just set the max height of your container and vertical dragging will be appear |
Okay my bad indeed, I did not think of the max-height. Sorry and thanks for the reactivity |
@donpernino, you are welcome! |
@Kamlesh-62, what's version do you use? |
I guess the latest one @2.2.0 |
@Kamlesh-62, try to use |
I am sorry I did not understand correctly, what's the @next version? if you can provide me a link that would be really appreciated. |
You means this version @3.0.3-alpha |
Nope, I tried with this @3.0.3-alpha, it is not scrolling, even the whole right part gets hidden. I you have any solution for the current version? |
Thanks find a solution. On the scroll-container "Div", I gave 100vh height it worked. I don't know why it did not work on the default height from the browser. Thanks, BTW. |
@Kamlesh-62, all's well that ends well. |
Hello,
I tried to use the plugin like so :
<ScrollContainer className="scroll-container" vertical={true} horizontal={true}> <MyImage /> </ScrollContainer>
I am able to scroll horizontally by dragging but I can't move vertically at all. I don't know what I should do.
Thanks
The text was updated successfully, but these errors were encountered: