Model elements getting disable while using ngDraggable
Hi Team,
I am using V1.1.0 for angular2. While using with ngDraggable with model, then it is disabling model component like textbox, dropdown. Means, i am able to see textbox but not able to enter any text in textbox. Is there any other configuration required. I saw that more then V1.1.0 is not supported for angular2.
Please help.
Thanks in advance....
@saxenadeepakkumar
You can set [preventDefaultEvent] = "false"
Thanks @xieziyu. It's really awesome.
I am looking one more solution like if we are dragging div then sometime it's going outside window boundary. Is there any way to set the moving boundary for div?
Thanks in advance.
@saxenadeepakkumar My pleasure. You can set [bounds] to the boundary element and [inBounds] to true. You can refer to the demo for detail: https://xieziyu.github.io/angular2-draggable/#/draggable/usage/boundary