Skip to content

Commit

Permalink
Merge pull request #66 from wtachau/patch-1
Browse files Browse the repository at this point in the history
fix: dynamic loading of content when splitpanes are rendered in a separate part of the DOM tree
  • Loading branch information
orefalo authored Aug 18, 2023
2 parents db004c0 + daa2e60 commit 9b7f5b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/Splitpanes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,9 @@
and if not update the internal order.
*/
function verifyAndUpdatePanesOrder() {
if (!container) {
return;
}
const { children } = container;
let currentPaneIndex = 0;
let needReorder = false;
Expand Down

0 comments on commit 9b7f5b9

Please sign in to comment.