Skip to content

Commit

Permalink
Remove next(). This caused the panels to be resized unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinthong committed Apr 9, 2024
1 parent 3bedc51 commit e1f5930
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { registerDestructor } from '@ember/destroyable';
import { action } from '@ember/object';
import { next } from '@ember/runloop';
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import type { WithBoundArgs } from '@glint/template';
Expand Down Expand Up @@ -531,7 +530,6 @@ export default class ResizablePanelGroup extends Component<Signature> {
if (!this.panelGroupElement) {
if (entry) {
this.panelGroupElement = entry.target as HTMLDivElement;
next(this, this.onContainerResize, entry, _observer);
}
return;
}
Expand Down

0 comments on commit e1f5930

Please sign in to comment.