Skip to content
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

change event in camera is not triggered sometimes #680

Open
so2liu opened this issue Oct 18, 2024 · 0 comments
Open

change event in camera is not triggered sometimes #680

so2liu opened this issue Oct 18, 2024 · 0 comments

Comments

@so2liu
Copy link

so2liu commented Oct 18, 2024

I am using nextjs + resium in both latest versions. I found change event is not triggered sometimes, so I cannot display current lon/lat and height to users.

When I am editing code, the onChange is triggered. But after I reload the page, it's not triggered. I guess the function is only registered during HMR.

I've written a demo in vite. Please help, thanks a lot.

Demo: https://codesandbox.io/p/devbox/83ky2j

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

No branches or pull requests

1 participant