Menghuan1918
052edb7685
fix: scope the "Show in folder" reveal scroll to the tree body
...
A reveal on a deep tree shifted the whole panel (tab bar included) out
of the viewport: the reveal used native scrollIntoView, which scrolls
every scrollable ancestor, and the fixed panel host
([data-dsh-panel-host], overflow hidden) is still a programmatically
scrollable container — the host scrolled instead of (or besides) the
tree, with no way to scroll back. Reported on DSH 0.1.2-alpha.1.
Two layers:
- FileTree: compute the centered, clamped target and scrollTo the tree
body only; scrollIntoView is never called.
- panel host: overflow hidden -> clip. A hidden box remains
programmatically scrollable; clip keeps the same viewport-edge
clipping (collapsed panels sliding off-screen) while making the host
impossible to scroll, killing the whole leak class (md-toc jumps,
future consumer scrollIntoView calls).
2026-08-29 01:52:55 +08:00
..
2026-08-24 18:40:04 +08:00
2026-08-18 01:22:28 +08:00
2026-08-20 02:09:36 +08:00
2026-08-25 11:04:43 +08:00
2026-08-11 11:16:36 +08:00
2026-08-21 23:49:13 +08:00
2026-08-15 01:37:39 +08:00
2026-08-24 18:40:04 +08:00
2026-08-28 04:20:36 +08:00
2026-08-11 11:16:36 +08:00
2026-08-13 01:39:59 +08:00
2026-08-08 01:02:24 +08:00
2026-08-21 01:28:17 +08:00
2026-08-23 22:02:47 +08:00
2026-08-22 23:13:35 +08:00
2026-08-11 11:16:36 +08:00
2026-08-24 18:40:04 +08:00
2026-08-29 01:52:55 +08:00
2026-08-22 22:50:13 +08:00
2026-08-24 00:35:58 +08:00
2026-08-25 11:04:43 +08:00
2026-08-26 18:42:34 +08:00
2026-08-10 16:54:13 +08:00
2026-08-12 01:16:20 +08:00
2026-08-24 01:35:00 +08:00
2026-08-24 18:40:04 +08:00
2026-08-18 18:05:01 +08:00
2026-08-21 23:41:33 +08:00
2026-08-21 23:41:33 +08:00
2026-08-12 18:19:44 +08:00
2026-08-15 15:05:06 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 18:33:02 +08:00
2026-08-24 12:05:14 +08:00
2026-08-24 12:05:14 +08:00
2026-08-28 04:20:36 +08:00
2026-08-28 04:20:36 +08:00
2026-08-24 12:05:14 +08:00
2026-08-24 12:05:14 +08:00
2026-08-18 01:22:28 +08:00
2026-08-28 04:20:36 +08:00
2026-08-14 14:53:03 +08:00
2026-08-22 23:19:17 +08:00
2026-08-22 23:19:17 +08:00
2026-08-15 17:08:04 +08:00
2026-08-11 11:22:28 +08:00
2026-08-23 22:02:47 +08:00
2026-08-10 16:46:01 +08:00
2026-08-10 16:46:01 +08:00
2026-08-26 21:40:32 +08:00
2026-08-22 23:19:17 +08:00
2026-08-20 02:09:36 +08:00
2026-08-23 01:24:20 +08:00
2026-08-16 22:32:17 +08:00
2026-08-24 16:41:02 +08:00
2026-08-24 01:36:29 +08:00
2026-08-14 18:29:31 +08:00
2026-08-11 19:28:48 +08:00
2026-08-13 01:39:59 +08:00
2026-08-28 04:20:36 +08:00
2026-08-16 16:24:28 +08:00
2026-08-28 21:42:39 +08:00
2026-08-29 01:52:55 +08:00
2026-08-26 22:46:56 +08:00
2026-08-22 23:19:17 +08:00
2026-08-24 01:19:43 +08:00
2026-08-22 15:34:05 +08:00
2026-08-22 15:34:05 +08:00
2026-08-28 04:20:36 +08:00
2026-08-26 18:33:02 +08:00
2026-08-26 22:46:56 +08:00
2026-08-21 15:41:14 +08:00
2026-08-13 09:06:55 +08:00
2026-08-13 09:06:55 +08:00
2026-08-21 18:15:49 +08:00
2026-08-26 21:40:32 +08:00
2026-08-26 22:43:20 +08:00
2026-08-24 18:40:04 +08:00
2026-08-27 21:44:32 +08:00
2026-08-27 21:44:32 +08:00
2026-08-28 04:20:36 +08:00
2026-08-16 16:37:11 +08:00
2026-08-21 01:28:17 +08:00
2026-08-24 18:40:04 +08:00
2026-08-20 18:28:57 +08:00
2026-08-20 18:28:57 +08:00
2026-08-21 01:28:17 +08:00