core icon indicating copy to clipboard operation
core copied to clipboard

fix(compile-core): track KeepAlive as block inside v-for

Open edison1105 opened this issue 10 months ago • 7 comments

close #12914

Summary by CodeRabbit

  • Bug Fixes

    • Improved handling of components wrapped in KeepAlive inside v-for loops so they are tracked and lifecycle-managed correctly even when fragments are stable.
  • Tests

    • Added a test verifying KeepAlive children are properly unmounted and remounted when dynamically switched within a keyed list wrapped by a stable fragment.

edison1105 avatar Feb 19 '25 14:02 edison1105

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Run Python Unit Tests

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #8785

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

openhands-ai[bot] avatar May 29 '25 14:05 openhands-ai[bot]