This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 7cb4730011d [fix] fix 3-level category collapse issue (#3398)
7cb4730011d is described below
commit 7cb4730011dec94b902c674e01c74354a8df68b8
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Fri Feb 13 12:03:58 2026 +0800
[fix] fix 3-level category collapse issue (#3398)
---
src/theme/DocSidebarItem/Category/index.tsx | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/theme/DocSidebarItem/Category/index.tsx
b/src/theme/DocSidebarItem/Category/index.tsx
index 3c01d8caa11..f1ca007dc00 100644
--- a/src/theme/DocSidebarItem/Category/index.tsx
+++ b/src/theme/DocSidebarItem/Category/index.tsx
@@ -177,12 +177,8 @@ export default function DocSidebarItemCategory({
collapsible
? e => {
onItemClick?.(item);
- if (href) {
- updateCollapsed(false);
- } else {
- e.preventDefault();
- updateCollapsed();
- }
+ e.preventDefault();
+ updateCollapsed();
}
: () => {
onItemClick?.(item);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]