Skip to content

Fixed session data not being changed - #101

Merged
roncodes merged 3 commits into
dev-v0.4.23from
bugfix/company-id
Mar 26, 2024
Merged

Fixed session data not being changed#101
roncodes merged 3 commits into
dev-v0.4.23from
bugfix/company-id

Conversation

@doljko

@doljko doljko commented Mar 26, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@roncodes
roncodes changed the base branch from main to dev-v0.4.23 March 26, 2024 09:57
@roncodes
roncodes merged commit 66b80ef into dev-v0.4.23 Mar 26, 2024
@roncodes
roncodes deleted the bugfix/company-id branch March 26, 2024 09:57
roncodes added a commit that referenced this pull request Sep 5, 2026
`createResponsiveHandler` registered a window `resize` listener as an inline
arrow and the component had no `willDestroy`, so it outlived the component.
The `if (!this.el) return` guard never fired because `el` was never cleared,
leaving a detached element whose `parentElement` is null — `getFullGridSize`
then threw on `parentElement.offsetWidth`.

Latent until now: nothing in the suite could construct a `JointGraph`, because
`joint` was undefined in the dummy app. Once it could, two unrelated
`operations-monitor` tests went red — they are the next tests that dispatch a
window resize.

Stores the handler, removes it and nulls `el` in `willDestroy`, and also
guards on `parentElement` so a detached element is skipped rather than
throwing. DEFECTS #101.
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.

2 participants