diff --git a/src/lib/_loading.scss b/src/lib/_loading.scss index 58b1e7b90..ae9189306 100644 --- a/src/lib/_loading.scss +++ b/src/lib/_loading.scss @@ -38,9 +38,13 @@ } } -// Preview content should not be interactable during loading -:not(.bp-loaded) > .bp-loading-wrapper + div { +// Only the loading wrapper should be interactable inside the Preview container +.bp:not(.bp-loaded) { pointer-events: none; + + & .bp-loading-wrapper { + pointer-events: all; + } } .bp-loading {