-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Drag and drop scrolling container #16535
Comments
any sollution for that ? i have the same problem :/ |
I have been playing around with some code that does this since I have the same requirements for my application. Basicly it's a new input for the CDKDropList which is called "cdkDropListAutoScrollContainer". Here you just pass inn an element reference and the autoscroll should use this container for scrolling. As it is designed now it will override the scrolling behaviour on both window and the cdkDropList container. What do you think about this solution? |
Any feedback on the solution? |
I'd like to expand on this and suggest that multiple scroll containers be supported (or at least a parent container). I have a page that has many scrollable columns side by side, but unfortunately I'm unable to drag and autoscroll horizontally. You can see what I mean here: https://www.techgroups.com/job-tracker (from a desktop browser) |
Same as @aeslinger0 , it could be awesome to have the ability to not only scroll vertically but also horizontally between different list containers, similar to a Trello board. |
I would settle for a way to adjust where scrolling kicks in on the viewport. |
I think this is fixed by #18082. |
This is supported now by setting |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Feature Description
In version 8.1.0 of components, the new scrolling feature enables auto scrolling of the cdkDropList or the viewport. It would be awesome to specify the drag scroll container if the scrolling container is not the droplist or the viewport.
Cdk drag scroll enables this feature using the vsDragScrollContainer directive,
https://github.com/volser/cdk-drag-scroll
Use Case
Container with scrolling containing a droplist that can't be scrolled with a viewport that cant be scrolled. Specifying the container and hooking up on its scrolling should enable scrolling.
The text was updated successfully, but these errors were encountered: