Skip to content

Fix: beforeExpandChange not delegated #52

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

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

temme-stefan
Copy link

Error description:
beforeExpandChange does not work in nested objects

Observation:
Property is Missing in nested DataRenderer (see attached video )

Fix:
Add missing property to ExpandableObject

Thanks for your work. I wrapped your viewer with a state to keep Objects open on rerender.

@temme-stefan
Copy link
Author

Just figured that with useCallback I won't need my state, but I still think that the fix is valid :)

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