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

Fix the category auto-expand on page load #121

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

jacquesh
Copy link

@jacquesh jacquesh commented Jul 29, 2022

Using the inlined code for bonsai's expand() function does not produce the desired result for reasons I admittedly do not understand. The comment claims this is to avoid the animation on page-load which I agree would be ideal but personally I'd rather have it animate and expand than not expand.

Changing the timeout from 1ms to 1000ms also appeared to work but I think that increases the level of "hackiness" whereas this reduces it.

This is to fix #120

@BSVino BSVino merged commit 120c975 into BSVino:mainline Jul 31, 2022
@BSVino
Copy link
Owner

BSVino commented Jul 31, 2022

Sorry busy couple of days. Thanks!

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.

Active command category not automatically expanding on page-load
2 participants