angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

Not compatible with AOS.js , it causes freezing / crashing website

Open xdrago1 opened this issue 3 years ago • 2 comments

I had this code snipped in my app.component.ts ngAfterViewInit method:

  AOS.init({
       duration: 600,
       once: true,
       delay: 250
 });

using "aos": "^2.3.4",

Which caused my App to crash as soon as I visited a page where I used the angular editor. I am lucky I dont use AOS anyway anymore, but it was pain in the ass to search for the cause of the problem

Maybe worth to look into it

xdrago1 avatar Mar 30 '21 15:03 xdrago1

SAme happens with wowjs, ngx-wow

xdrago1 avatar Jul 28 '21 22:07 xdrago1

Ureka! I found the solution @xdrago1 try in index.html

 <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
  <script>
    AOS.init();
  </script>

the issue got Resolved(closed)

rajee7009 avatar Mar 09 '22 18:03 rajee7009