Skip to content

Commit

Permalink
fix(panel): fix panel closed without transition when opened with swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 9, 2023
1 parent 27f211e commit be8492c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/components/panel/panel-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ class Panel extends Framework7Class {
$el.removeClass('panel-out').addClass('panel-in not-animated');
panel.onOpen();
panel.onOpened();
// eslint-disable-next-line
panel._openTransitionStarted = true;
}

return true;
Expand Down

0 comments on commit be8492c

Please sign in to comment.