Skip to content

fix: VFXImg / VFXVideo not working when initialized after the img / video is loaded #74

New issue

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

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

fand
Copy link
Owner

@fand fand commented Jul 3, 2024

We added isLoading guard to wait for img/video load in https://github.com/fand/react-vfx/pull/69 , however it's causing REACT-VFX not initializing correctly when the img/video is already loaded.
We improved the loading algorithm on VFX-JS side, so we can remove isLoading guard safely now.

Copy link

vercel bot commented Jul 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-vfx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 11:10pm

@fand fand changed the title fix: remove isLoaded guard fix: VFXImg and VFXVideo not working when initialized after the img/video is loaded Jul 3, 2024
@fand fand changed the title fix: VFXImg and VFXVideo not working when initialized after the img/video is loaded fix: VFXImg / VFXVideo not working when initialized after the img / video is loaded Jul 3, 2024
@fand fand merged commit dc46389 into main Jul 3, 2024
3 checks passed
@fand fand deleted the fix/remove-is-loaded branch July 3, 2024 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant