Empty Pop-up Window Remaining on Screen After Cookie Policy Closure

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

"Simple Cookie Compliance" module 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. I think it's causing a js conflict by the Simple Cookie module.
What could be the solution?

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

πŸ› Bug report
Status

Active

Version

1.5

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