@@ -240,7 +240,6 @@ export class VcfToolbarLayout extends ResizeMixin(
240240
241241 connectedCallback ( ) : void {
242242 super . connectedCallback ( ) ;
243- console . log ( 'connectedCallback' ) ;
244243
245244 // inject global styles for the overflow container since it will be moved to a different shadow root (popover overlay)
246245 this . _injectGlobalStyles ( ) ;
@@ -252,7 +251,6 @@ export class VcfToolbarLayout extends ResizeMixin(
252251
253252 disconnectedCallback ( ) : void {
254253 super . disconnectedCallback ( ) ;
255- console . log ( 'disconnectedCallback' ) ;
256254
257255 // remove global styles
258256 this . _removeGlobalStyles ( ) ;
@@ -276,7 +274,7 @@ export class VcfToolbarLayout extends ResizeMixin(
276274 // get the overflow button
277275 this . _overflowButton = this . shadowRoot . querySelector ( '[slot="overflow-button"]' ) as HTMLElement ;
278276
279- // setup oveflow container
277+ // setup overflow container
280278 this . _overflowContainer = document . createElement ( 'vaadin-vertical-layout' ) ;
281279 this . _overflowContainer . classList . add ( 'overflow-container' ) ;
282280
@@ -337,7 +335,6 @@ export class VcfToolbarLayout extends ResizeMixin(
337335 * Elements in the overflow container are hidden and only shown when the overflow button is clicked.
338336 */
339337 protected _updateOverflowingItems ( ) {
340- console . log ( 'Update overflowing items' ) ;
341338
342339 // todo: include container gap/padding/etc value in calculation?
343340 const overflowButtonWidth = this . _overflowButton ? this . _overflowButton . getBoundingClientRect ( ) . width : 0 ;
@@ -430,8 +427,6 @@ export class VcfToolbarLayout extends ResizeMixin(
430427 // must insert at beginning of overflow container to ensure order stays consistent with normal menu
431428 this . _overflowContainer . insertBefore ( item , this . _overflowContainer . firstChild ) ;
432429 }
433-
434- console . log ( 'Moved item to overflow container:' , item ) ;
435430 }
436431
437432 protected _moveItemToMainContainer ( item : Element ) {
@@ -444,8 +439,6 @@ export class VcfToolbarLayout extends ResizeMixin(
444439 // must insert at end of main container to ensure order stays consistent with normal menu
445440 this . appendChild ( item ) ;
446441 }
447-
448- console . log ( 'Moved item to main container:' , item ) ;
449442 }
450443
451444 /**
0 commit comments