-
Notifications
You must be signed in to change notification settings - Fork 0
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
IBX-6845: Matrix field columns table header not present until saved #33
Conversation
3950d46
to
c3cdb4f
Compare
tableBody.appendChild(emptyPlaceholder); | ||
} | ||
|
||
setTimeout(() => { |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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?
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Regression tests passed. |
JIRA ref: https://issues.ibexa.co/browse/IBX-6845
Req ibexa/admin-ui#953