Commit 6cfc9c1
authored
[DevTools] Don't measure fallbacks when suspended (facebook#34850)
We already do this in the update pass. That's what
`shouldMeasureSuspenseNode` does.
We also don't update measurements when we're inside an offscreen tree.
However, we didn't check if the boundary itself was in a suspended state
when in the `measureUnchangedSuspenseNodesRecursively` path.
This caused boundaries to disappear when their fallback didn't have a
rect (including their timeline entries).1 parent e798465 commit 6cfc9c1
File tree
1 file changed
+21
-6
lines changed1 file changed
+21
-6
lines changedLines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3262 | 3262 | | |
3263 | 3263 | | |
3264 | 3264 | | |
3265 | | - | |
3266 | | - | |
3267 | | - | |
3268 | | - | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
3269 | 3276 | | |
3270 | | - | |
| 3277 | + | |
| 3278 | + | |
3271 | 3279 | | |
3272 | | - | |
| 3280 | + | |
3273 | 3281 | | |
3274 | 3282 | | |
3275 | 3283 | | |
| |||
3285 | 3293 | | |
3286 | 3294 | | |
3287 | 3295 | | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
3288 | 3303 | | |
3289 | 3304 | | |
3290 | 3305 | | |
| |||
0 commit comments