Empty Window Opening After Closing Pop-up Window

Created on 13 July 2023, 12 months ago
Updated 19 July 2023, 12 months ago

Hi,

I am using the "Splash Block" and "Simple Cookie Compliance" modules simultaneously on my website. When the page initially loads, the "Splash Block" module displays a pop-up screen which I close (step1). Then, on all pages of my website, there is a persistent Cookie notice at the bottom, which I close by clicking the "OK" button (step2). - The real issue arises from this point! - After closing the cookie policy (step3), the "Splash Block" module comes into play and presents an empty pop-up window on the screen.

When examining the CSS changes, I noticed the following modifications:
(step1)

<div class="splash-block-overlay" style="display: none;"></div>
<div class="splash-block-modal" style="width: 520px; height: auto; top: 450.5px; left: 683.5px; display: none;">
.....

(step3)

<div class="splash-block-overlay" style="display: block;"></div>
<div class="splash-block-modal" style="width: 520px; height: auto; top: 450.5px; left: 683.5px; display: block;">
.....

As a result, when I accept the Cookie, the JavaScript triggers the -"style="display: none;"- within the (.splash-block-overlay) and (.splash-block-modal) classes.

How can I fix this issue?
Thank you in advance for your assistance.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΉπŸ‡·Turkey lagenti

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024