Jump to content
Search Community

About the Draggable type scroll

ngc7293
Moderator Tag

Recommended Posts

Posted

hello,

When I use Draggable, it doesn't seem to automatically respond to container changes,It changes when I click on the content.

Click the resize button, and then click the content area to observe the change of the scroll bar.

I hope my poor English makes it clear, thanks.

See the Pen gOLpxKK by xf-ngc7293 (@xf-ngc7293) on CodePen.

Posted

Hey ngc7293. Nowhere in the docs does it say that it will automatically handle resizing of your elements :) You should add that functionality yourself if you need it. I'd probably do something like this:

See the Pen ZEBGoWN?editors=0010 by GreenSock (@GreenSock) on CodePen.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...