You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it can be done by placing the mwlDraggableScrollContainer directive on the scrolling element.
Using Ionic, my issue is that the scrolling element is not accessible because it is nested in a shadow-root and managed by ion-content. Because of this I can't add any directive to it (I guess).
What I can do, is to get a reference to the scrolling element like already did with the following:
Is your feature request related to a problem? Please describe
I need to populate the following property for both mwlDraggable and mwlDroppable.
@Optional() private scrollContainer: DraggableScrollContainerDirective
Currently it can be done by placing the mwlDraggableScrollContainer directive on the scrolling element.
Using Ionic, my issue is that the scrolling element is not accessible because it is nested in a shadow-root and managed by ion-content. Because of this I can't add any directive to it (I guess).
What I can do, is to get a reference to the scrolling element like already did with the following:
Describe the solution you'd like
I'd like to pass the scrollable element to do the mwlDraggableScrollContainer like this:
Describe your use case for implementing this feature
I guess something like this would do the trick:
maybe it's a better idea to place it in ngOnChange.
By the way, it seems to currently work with this tricky solution:
The text was updated successfully, but these errors were encountered: