Skip to content

fix(vue): guard htmlLayerInstance in onUpdated/onUnmounted hooks#266

Open
strausr wants to merge 1 commit into
masterfrom
fix/vue-null-check-html-layer-instance
Open

fix(vue): guard htmlLayerInstance in onUpdated/onUnmounted hooks#266
strausr wants to merge 1 commit into
masterfrom
fix/vue-null-check-html-layer-instance

Conversation

@strausr

@strausr strausr commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Prevents TypeError crash when AdvancedImage or AdvancedVideo is
unmounted before onMounted completes (e.g. rapid route transitions).

Fixes #265

@strausr strausr requested a review from const-cloudinary June 29, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AdvancedImage/AdvancedVideo crash: "Cannot read properties of undefined (reading 'htmlPluginState')" when unmounted before onMounted

2 participants