Skip to content

Conversation

@tobysmith568
Copy link

@tobysmith568 tobysmith568 commented Jan 20, 2026

Fixes #1074

Hey - I wasn't able to set the repo up properly on my machine (some issue with Yarn not installing deps?) so I wasn't able to run the unit tests locally - hopefully all is good?

@tobysmith568 tobysmith568 changed the title Ts/tojson inside onchange Stop toJSON from firing onDidMaximizedNodeChange Jan 20, 2026
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 20, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 45e16b5:

Sandbox Source
dockview-app Configuration
editor-gridview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
nativeapp-dockview Configuration
rendering-dockview Configuration

@tobysmith568 tobysmith568 changed the title Stop toJSON from firing onDidMaximizedNodeChange fix: Stop toJSON from firing onDidMaximizedNodeChange Jan 20, 2026
expect(value).toBeUndefined();
});

it('should stop emitting after dispose', () => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test was a dupe of the one above it

});

it('should not replay last value in replay mode', () => {
it('should not replay last value when not in replay mode', () => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this test was titled incorrectly?

@tobysmith568 tobysmith568 force-pushed the ts/tojson-inside-onchange branch from 47bd351 to 45e16b5 Compare January 20, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stackoverflow when calling api.toJSON() from within an onChange callback

1 participant