Commit 92fc981
committed
fix: widget renderer infinite height growth (#64), update example prompts
- Break feedback loop in iframe height measurement by collapsing the
content container before reading scrollHeight, so viewport-relative
children don't inflate the measurement
- Remove +8 padding from height setter that compounded each cycle
- Replace "binary search" suggestion with "car axle" visualization1 parent cd5eeef commit 92fc981
File tree
2 files changed
+11
-4
lines changed- apps/app/src
- components/generative-ui
- hooks
2 files changed
+11
-4
lines changedLines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
459 | 461 | | |
460 | 462 | | |
461 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
462 | 469 | | |
463 | 470 | | |
464 | 471 | | |
| |||
573 | 580 | | |
574 | 581 | | |
575 | 582 | | |
576 | | - | |
| 583 | + | |
577 | 584 | | |
578 | 585 | | |
579 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments