docs(dom_widget_dev_guide): clarify dynamic resizing and add performance note

- Add performance note explaining that providing `getMinHeight` and `getHeight` via `options` avoids expensive DOM measurements
- Expand dynamic resizing section with detailed update sequence and common scenarios table
- Update LoraPoolSummaryView.vue with `min-height: 0` to allow flex shrinking
- Update main.ts to provide `getMinHeight` via options and adjust `computeLayoutSize` for performance
This commit is contained in:
Will Miao
2026-01-12 09:22:18 +08:00
parent 7a5f4514f3
commit 9719dd4d07
5 changed files with 53 additions and 18 deletions

View File

@@ -127,5 +127,7 @@ defineEmits<{
overflow-y: auto;
padding-right: 4px;
margin-right: -4px;
/* Allow flex item to shrink below content size */
min-height: 0;
}
</style>