Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-6845: Matrix field columns table header not present until saved #33

Merged

Conversation

GrabowskiM
Copy link
Contributor

@GrabowskiM GrabowskiM force-pushed the IBX-6845-matrix-field-columns-table-header-not-present-until-saved branch from 3950d46 to c3cdb4f Compare October 23, 2023 12:25
tableBody.appendChild(emptyPlaceholder);
}

setTimeout(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This timeout is necessary as without it hiding/removing elements happens to fast, before returning emptyPlaceholder and for short moment there's no element and whole table "jumps"

checkbox.dispatchEvent(new Event('change'));
checkbox.closest(SELECTOR_COLUMN).remove();
});
}, 1);
Copy link
Contributor

Choose a reason for hiding this comment

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

1 is very suspicious, maybe 0 will work as well?

@sonarcloud
Copy link

sonarcloud bot commented Oct 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bogusez
Copy link

bogusez commented Nov 6, 2023

Regression tests passed.

@dew326 dew326 merged commit 9c8058c into 4.5 Nov 6, 2023
14 checks passed
@dew326 dew326 deleted the IBX-6845-matrix-field-columns-table-header-not-present-until-saved branch November 6, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants