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.

Comments

lagenti created an issue. See original summary.

lagenti’s picture

Title: Empty Pop-up Window Remaining on Screen After Cookie Policy Closure » Empty Window Opening After Closing Pop-up Window
lagenti’s picture

Assigned: lagenti » Unassigned
avpaderno’s picture

Status: Active » Closed (outdated)
Issue tags: -cookie error, -popup error, -splash block conflict, -simple cookie compliance conflict, -popup conflict

I am closing this issue, since it is for a Drupal version that is no longer supported. Please re-open this issue if it is relevant for a project release for a supported Drupal version.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.