Repository navigation
fix(NcCustomPickerElement): destroy elements that are still rendering - #9257
Open
DerDreschner wants to merge 1 commit into
Open
DerDreschner wants to merge 1 commit into
DerDreschner wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9257 +/- ##
==========================================
+ Coverage 61.34% 62.12% +0.78%
==========================================
Files 131 131
Lines 4778 4790 +12
Branches 1446 1452 +6
==========================================
+ Hits 2931 2976 +45
+ Misses 1569 1543 -26
+ Partials 278 271 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closing the picker while a custom element was still loading called its onDestroy without a render result, which fails in the pickers that expect one. The element was rendered afterwards and never destroyed. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
DerDreschner
force-pushed
the
fix/custom-picker-element-pending-render
branch
from
November 29, 2026 22:54
7716a08 to
b634fda
Compare
Contributor
Author
|
/backport to stable8 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
☑️ Resolves
Closing the Smart Picker while a custom element was still loading called its
onDestroywithout a render result, which fails in the pickers that expect one. The element was rendered afterwards and never destroyed.onDestroyis now called once the element is rendered, so async callbacks have to return their promise.onDestroyare logged.Pickers that use a ref in
$nextTickafter mounting, like those of Deck and Profile, log an error if they are closed while loading, because they are now unmounted right after they mounted.🚧 Tasks
🏁 Checklist
stable8for maintained Vue 2 version or not applicableAI (if applicable)
each commit containing AI-assisted content must include a git trailer:
Assisted-by: AGENT_NAME:MODEL_VERSION