fix: mode switching
This commit is contained in:
		
							parent
							
								
									963961b69c
								
							
						
					
					
						commit
						ddab46e69d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -97,7 +97,7 @@ export class BtnList { | |||
| 
 | ||||
|     // hide buttons using the shadow DOM
 | ||||
|     const newParent = btnParent.cloneNode(false) as HTMLDivElement | ||||
|     newParent.append(...this.list) | ||||
|     newParent.append(...this.list.map(e => e.cloneNode(true))) | ||||
|     const slot = document.createElement('slot') | ||||
|     newParent.append(slot) | ||||
|     shadow.append(newParent) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue