Open Massi-X opened 2 weeks ago
OK, found the issue!
When creating the modal in line https://github.com/orestbida/cookieconsent/blob/c4d512f362b49556fd57632acbdc7193eb9b9a12/src/core/modals/consentModal.js#L282 the .cc--anim
class is correctly added after a timeout of 100ms, while on show there is no such timeout cause the class is never removed.
See https://github.com/orestbida/cookieconsent/pull/698 for the fix
Expected Behavior
The background of
. cm-wrapper
should animateCurrent Behavior
The background of
. cm-wrapper
does not animateSteps 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.
CookieConsent.show()
(with no argument or true/false, doesn't matter)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