You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, it would appear that defining expandOnClick={true} has no effect unless onClick is also defined. The doc examples indicate this as well.
In our system, we are using the checkbox tree to present files and folders, and only files are selectable. We'd like it if users could click on folders to expand them. But, to do that right now, we'd have to implement onClick. If we set onClick to a no-op func, then folders expand when clicked but we lose the default check-off behavior when users click on files. Really what we want is the default onClick behavior, with the ability for users to click on folders to expand them.