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

Issue with ngDraggable boundsCheck() if out of bounds. #229

Open
nith822 opened this issue Aug 12, 2021 · 0 comments
Open

Issue with ngDraggable boundsCheck() if out of bounds. #229

nith822 opened this issue Aug 12, 2021 · 0 comments

Comments

@nith822
Copy link

nith822 commented Aug 12, 2021

After calling boundsCheck, and element is out of bounds, there are issues with dragging the element.

Element x position out of bounds: element cannot be dragged until after clicked once.
Element y position out of bounds: element can only be dragged on x axis until clicked once.

Temporary fix by calling ngDraggable.ngAfterViewInit() after ngDraggable.boundsCheck()

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

1 participant