Skip to content

Commit

Permalink
fix: always snap to panel on interact stop
Browse files Browse the repository at this point in the history
  • Loading branch information
guidobouman committed May 13, 2018
1 parent 26e9e31 commit 129fe4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/panelsnap.js

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

2 changes: 1 addition & 1 deletion src/panelsnap.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default class PanelSnap {

onInteractStop() {
this.isInteracting = false;
this.onScroll();
this.findSnapTarget();
}

onInteract() {
Expand Down

0 comments on commit 129fe4d

Please sign in to comment.