Skip to content

Commit

Permalink
Fix not updated container boundaries during repositioning
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Jul 13, 2020
1 parent 9e21242 commit b9efcb7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/pickr.es5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pickr.es5.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/pickr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pickr.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/js/pickr.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ class Pickr {
// No repositioning needed if inline
if (!options.inline) {
const success = this._nanopop.update({
container: document.body.getBoundingClientRect(),
position: options.position,
forceApplyOnFailure: !this._recalc
});
Expand Down

0 comments on commit b9efcb7

Please sign in to comment.