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

Ref undefined #472

Closed
sss1337xyz opened this issue Oct 23, 2024 · 1 comment · Fixed by #477
Closed

Ref undefined #472

sss1337xyz opened this issue Oct 23, 2024 · 1 comment · Fixed by #477

Comments

@sss1337xyz
Copy link

sss1337xyz commented Oct 23, 2024

I use nextjs

I can’t access the ref because it is always undefined,
you don’t have to go far to find the assembly, it’s in the documentation

url https://unovis.dev/gallery/view/?collection=Maps&title=Advanced%20Leaflet%20Map
image

@rokotyan
Copy link
Contributor

Thanks for reporting @sss1337xyz, we'll take a look

rokotyan added a commit to rokotyan/unovis that referenced this issue Oct 28, 2024
…iveHandle`

Updated dependencies for the `useImperativeHandle` hook to include the `component` in its dependency array. This ensures that references to the component are correctly updated whenever it changes, leading to improved synchronization and reliability in the component's behavior.

f5#472
lee00678 pushed a commit that referenced this issue Nov 5, 2024
…iveHandle`

Updated dependencies for the `useImperativeHandle` hook to include the `component` in its dependency array. This ensures that references to the component are correctly updated whenever it changes, leading to improved synchronization and reliability in the component's behavior.

#472
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 a pull request may close this issue.

2 participants