Skip to content

Commit

Permalink
fix: get rect when element is initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed May 1, 2023
1 parent f5b6350 commit 0895567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/position.js
Expand Up @@ -52,6 +52,8 @@ position.prototype = {
});
}

this.__setRectInfo();

let positionableEl = this.el
if (this.dragHandle)
positionableEl = this.dragHandle
Expand Down

0 comments on commit 0895567

Please sign in to comment.