cookieconsent icon indicating copy to clipboard operation
cookieconsent copied to clipboard

[Bug]: Background entry animation ignored

Open Massi-X opened this issue 8 months ago • 1 comments

Expected Behavior

The background of . cm-wrapper should animate

Current Behavior

The background of . cm-wrapper does not animate

Steps to reproduce

Hi and thank you for this awesome module! I found a strange bug regarding the background of the main consent window. You can test this even on playground.

  1. First check "Disable page interaction" so that the background is effectively there
  2. You can instantly notice how the background is animated (to test again, close the popup and click on "Flip buttons" or anything else)
  3. Now open your console and type CookieConsent.show() (with no argument or true/false, doesn't matter)
  4. You can now see the background fails to animate

From a first sight I didn't catch anything wrong in the code, but I will check further later, do you already have any ideas maybe?

Proposed fix or additional info.

No response

Version

3.0.1

On which browser do you see the issue?

Chrome/Firefox

Massi-X avatar Jun 17 '24 23:06 Massi-X