Commit 0d4d857
fix(js): early return from slideDown/slideUp when duration < 1 (#5964)
When duration is zero, setTimeout ordering is unreliable (especially
in Firefox), causing style cleanup to fail. Skip animation entirely
for zero-duration calls, fixing treeview instant-open on page load.
Based on PR #5964 by @Kneemund.
Co-Authored-By: Moritz Mechelk <moritzmechelk@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d4ee248 commit 0d4d857
5 files changed
Lines changed: 20 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments