You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected behavior for unsupported browsers is that I should still be able to see elements which have the data-sal attribute (but they won't animate of course). The reason it's invisible for unsupported browsers is because the start of the animation has an opacity of 0, and the animation never ends up playing since the browser doesn't support IntersectionObserver. I actually fixed the problem in my website by making a wrapper script for SAL, which looks for elements that have the attribute data-sal-wrapper. My js then dynamically adds data-sal attribute to the elements via the update() method of SAL.
So the reason why it works now is because I am no longer setting the data-sal attribute at compile time and instead am setting it dynamically.
The text was updated successfully, but these errors were encountered:
The expected behavior for unsupported browsers is that I should still be able to see elements which have the data-sal attribute (but they won't animate of course). The reason it's invisible for unsupported browsers is because the start of the animation has an opacity of 0, and the animation never ends up playing since the browser doesn't support IntersectionObserver. I actually fixed the problem in my website by making a wrapper script for SAL, which looks for elements that have the attribute data-sal-wrapper. My js then dynamically adds data-sal attribute to the elements via the update() method of SAL.
So the reason why it works now is because I am no longer setting the data-sal attribute at compile time and instead am setting it dynamically.
The text was updated successfully, but these errors were encountered: