Skip to content

Commit a857e5e

Browse files
committed
fix: Do not set flex CSS class on loader when it is hidden (fixing Breeze issue)
1 parent bfb5d5b commit a857e5e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

view/base/templates/script/component-partial/loader-component-partial.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ if (false === $showLoaderTimeout > 0) {
1616
loading: false,
1717
showLoader: false,
1818
showLoaderTimeout: <?= (int)$showLoaderTimeout ?>,
19+
loaderOverlayCss() {
20+
return this.showLoader ? 'flex' : '';
21+
},
1922
setLoadingStateToElement(elementId, loadingState) {
2023
const element = document.getElementById(elementId);
2124
if (!element) {

0 commit comments

Comments
 (0)