title: website hosted with firebase didnt load AOS properly
body: <p>i have a small problem. So i have hosted my website with firebase hosting and  I install AOS using NPM. On some browser it works (for example on pc it works with Chrome but now with Microsoft Edge) On my iphone, first it was working on safari and then on Chrome, but now isn't working anymore (even if i didn't changed anything.)</p>
  <p>The AOS didn't load sometimes.</p>
  <p>When is it working is it like this:
  <a href="https://i.stack.imgur.com/fogXp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fogXp.png" alt="enter image description here" /></a></p>
  <p>When is not working it looks like this:</p>
  <p><a href="https://i.stack.imgur.com/tJWBi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tJWBi.png" alt="enter image description here" /></a></p>
  <p>This is the code of the section that didn't load, here i imported the AOS (which i install with NPM). However sometimes it loads, sometimes not. Which is the problem? Firebase cannot share the resources with all users or?</p>
  <pre><code>
  import AOS from &quot;aos&quot;;
  import &quot;aos/dist/aos.css&quot;;
  
  export default function Despre() {
      window.addEventListener('load', () =&gt; {
          AOS.init({
              duration: 1000,
              easing: 'ease-in-out',
              once: true,
              mirror: false
          })
      });
      return (
          &lt;section id=&quot;about&quot; class=&quot;about&quot;&gt;
          &lt;div class=&quot;container&quot;&gt;
  
              &lt;div class=&quot;section-title&quot; data-aos=&quot;zoom-out&quot;&gt;
                  &lt;h2&gt;Despre noi&lt;/h2&gt;
                  &lt;p&gt;Cine suntem?&lt;/p&gt;
              &lt;/div&gt;
  
              &lt;div class=&quot;row content&quot; data-aos=&quot;fade-up&quot;&gt;
                  &lt;div class=&quot;col-lg-6&quot;&gt;
                      &lt;p&gt;
                          Localizați în localitatea Galați, dorim să vă oferim o nuntă ca în povesți, atât mirilor cât și invitaților acestora.
                      &lt;/p&gt;
                      &lt;ul&gt;
                      &lt;li&gt;&lt;i class=&quot;ri-check-double-line&quot;&gt;&lt;/i&gt; Porumbeii pe care îi oferim sunt de culoare alb imaculat, fiind foarte curați.&lt;/li&gt;
                          &lt;li&gt;&lt;i class=&quot;ri-check-double-line&quot;&gt;&lt;/i&gt; Porumbeii au fost folosiți ca simboluri de secole, având o simbolistică vastă!&lt;/li&gt;
                          &lt;li&gt;&lt;i class=&quot;ri-check-double-line&quot;&gt;&lt;/i&gt; Aceștia simbolizează, printre altele, pacea, liniștea și iubirea!&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
                  &lt;div class=&quot;col-lg-6 pt-4 pt-lg-0&quot;&gt;
                      &lt;p&gt;
                          Momentul artistic al eliberării porumbeilor poate fi la ieșirea mirilor din biserică, la ieșirea de la Oficiul Stării Civile sau înainte de intrarea în localul în care va avea loc evenimentul. Momentul eliberării porumbeilor va fi ales de dumneavoastră!
                      &lt;/p&gt;
                      &lt;div class=&quot;d-flex justify-content-center&quot;&gt;
                          &lt;i class=&quot;fa-solid fa-dove fa-4x&quot; id=&quot;porumbel&quot;&gt;&lt;/i&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/section&gt;
      );
  }
  </code></pre>
  <p>Thanks for your help!!</p>