Commit 40a43b8
fix(onboarding): restore subtree:true on MutationObserver to fix feed card loading
With subtree:false, feed articles were never detected because they are
nested inside a <main> element within .onb-feed-stage. The observer
callback now filters to only call observeFeedArticles() when actual
<article> elements (or wrappers containing them) are added, which
prevents the engagement-animation feedback loop without breaking
article detection.
Co-authored-by: Tsahi Matsliah <tsahimatsliah@users.noreply.github.com>1 parent 00a0d70 commit 40a43b8
1 file changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
529 | 542 | | |
530 | 543 | | |
531 | 544 | | |
532 | | - | |
533 | | - | |
534 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
535 | 550 | | |
536 | 551 | | |
537 | | - | |
| 552 | + | |
538 | 553 | | |
539 | 554 | | |
540 | 555 | | |
| |||
0 commit comments