Please sign in to comment.
fix(modal): Ensure body scrollbar is removed if modal destroyed befor…
…e being closed (#1168) * fix(modal): Ensure body scrollbar is removed if modal destroyed before being closed Use case: If a modal is open on a child route and the route is changed, the modal is closed, but body scrollbar and navbar/fixed content adjustments (margins/padding) were not being removed. Note this PR does not address similar issues when modal is inside a `<keep-alive>` component. * Add hasAttr to DOM utils * make sure old padding removed from mdoal as well * Update dom.js
- Loading branch information...
Showing with 32 additions and 10 deletions.