@@ -153,7 +153,7 @@ export class ReorderGroup implements ComponentInterface {
153153    const  heights  =  this . cachedHeights ; 
154154    heights . length  =  0 ; 
155155    const  el  =  this . el ; 
156-     const  children : any  =  el . __children ; 
156+     const  children : any  =  el . __children   ||   el . children ; 
157157    if  ( ! children  ||  children . length  ===  0 )  { 
158158      return ; 
159159    } 
@@ -259,7 +259,7 @@ export class ReorderGroup implements ComponentInterface {
259259  private  completeReorder ( listOrReorder ?: boolean  |  any [ ] ) : any  { 
260260    const  selectedItemEl  =  this . selectedItemEl ; 
261261    if  ( selectedItemEl  &&  this . state  ===  ReorderGroupState . Complete )  { 
262-       const  children : any  =  this . el . __children ; 
262+       const  children : any  =  this . el . __children   ||   this . el . children ; 
263263      const  len  =  children . length ; 
264264      const  toIndex  =  this . lastToIndex ; 
265265      const  fromIndex  =  indexForItem ( selectedItemEl ) ; 
@@ -309,7 +309,7 @@ export class ReorderGroup implements ComponentInterface {
309309  /********* DOM WRITE ********* */ 
310310  private  reorderMove ( fromIndex : number ,  toIndex : number )  { 
311311    const  itemHeight  =  this . selectedItemHeight ; 
312-     const  children : any  =  this . el . __children ; 
312+     const  children : any  =  this . el . __children   ||   this . el . children ; 
313313    for  ( let  i  =  0 ;  i  <  children . length ;  i ++ )  { 
314314      const  style  =  ( children [ i ]  as  any ) . style ; 
315315      let  value  =  '' ; 
0 commit comments