angularjs - why the div hide while drag it below or down in angular js? -


i trying make custom plugin in angular js .i trying use jquery drag plugin here in angular js .in below example when user draw below not hiding .please use given example https://jqueryui.com/draggable/

but. when use plugin in code .when user drag div below or down or bottom side hide why ? here code http://codepen.io/anon/pen/oxxmqk

    var app=angular.module("ionicapp",['ionic']); app.directive('draggable',function(){             return{             restrict:'a',             scope:{              },             link:function(scope,element,attr){                  $(element).draggable();             }         }     })     app.controller('cnt',function($scope){      }) 

enter image description here

please check out hide when drag @ bottom


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -