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

ERROR TypeError: dropListRef._cacheOwnPosition is not a function - Angular 10 #23

Open
daiyis opened this issue Oct 30, 2020 · 2 comments

Comments

@daiyis
Copy link

daiyis commented Oct 30, 2020

After force upgrade to angular 10, It has the following console error when drag and drop:

core.js:4352 ERROR TypeError: dropListRef._cacheOwnPosition is not a function
at cdk-drag-scroll.js:401
at ZoneDelegate.invokeTask (zone.js:407)
at Object.onInvokeTask (core.js:27474)
at ZoneDelegate.invokeTask (zone.js:406)
at Zone.runTask (zone.js:179)
at invokeTask (zone.js:488)
at ZoneTask.invoke (zone.js:477)
at timer (zone.js:2540)

@daiyis
Copy link
Author

daiyis commented Nov 7, 2020

For whoever is still using this package, the latest angular CDK has official support for the scroll(just use cdkScrollable directive on the container) - I have removed this package from my project.

@Features12
Copy link

I have the same issue. Angular 9
image

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