We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, @michalsnik
I used AOS to my Create React App. But it works on the visible component but doesn't work properly on the invisible component.
When I inspect the site it didn't apply to the aos-animate class name to the invisible component.
Ofc, I all did import AOS from "aos"; import "aos/dist/aos.css";
useEffect(() => { AOS.init({ startEvent: "DOMContentLoaded", offset: 200, duration: 3000, once: true, }); }, []);
Already, read the above solutions but have not found the solution. Hope you solve this problem ASAP.
Max
The text was updated successfully, but these errors were encountered:
if you call AOS.init outside of component (after imports), it works.
Sorry, something went wrong.
No branches or pull requests
Hello, @michalsnik
I used AOS to my Create React App.
But it works on the visible component but doesn't work properly on the invisible component.
When I inspect the site it didn't apply to the aos-animate class name to the invisible component.
Ofc, I all did
import AOS from "aos";
import "aos/dist/aos.css";
useEffect(() => {
AOS.init({
startEvent: "DOMContentLoaded",
offset: 200,
duration: 3000,
once: true,
});
}, []);
Already, read the above solutions but have not found the solution.
Hope you solve this problem ASAP.
Max
The text was updated successfully, but these errors were encountered: