lilo
1 month ago
129
0
General

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>

Posted 1 month ago by lilo

Hello,

I added an animation between pages while they are loading. It works but at the console I get this error:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See

Here is my transition.css:

body{
animation: transitionIn 0.75s;

}

@keyframes transitionIn { from{ opacity: 0; background-image: url("/img/Preloader_11.gif"); } to { opacity: 1; background-image: url("/img/Preloader_11.gif"); } }

And I add this to the head of my page:

        <link rel="stylesheet" href="css/transition.css">

PS: So sorry I couldn't make the code looking good

Please sign in or create an account to participate in this conversation.