You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some components that are displayed correctly on our app fail to be displayed in a modal (In the default slot of a v-dialoghttps://v2.vuetifyjs.com/en/api/v-dialog/ ) with the following error in console:
The workaround we found for now is to wrap the seam component in an element conditionally rendered (v-if) on an internal ready variable that is set to true soon after the modal is rendered.
The following code does not work if we remove the delay this.$nextTick and set the this.ready variable immediately.
This is not super clean but it works, so I removed the “Blocking” tag on this issue
watch: {
value (val) {
if (val && !this.ready) this.$nextTick(() => { this.ready = true })
},
},
value is the prop set to the deviceId to enable the modal, and set to null to close the modal
Some components that are displayed correctly on our app fail to be displayed in a modal (In the default slot of a
v-dialog
https://v2.vuetifyjs.com/en/api/v-dialog/ ) with the following error in console:https://legacy.reactjs.org/docs/error-decoder.html/?invariant=409
This error appears when the modal is opened.
If I close the modal and re-open it, the component is displayed correctly the second time.
Code:
Workaround
The workaround we found for now is to wrap the seam component in an element conditionally rendered (v-if) on an internal
ready
variable that is set to true soon after the modal is rendered.The following code does not work if we remove the delay
this.$nextTick
and set thethis.ready
variable immediately.This is not super clean but it works, so I removed the “Blocking” tag on this issue
watch: { value (val) { if (val && !this.ready) this.$nextTick(() => { this.ready = true }) }, },
value
is the prop set to the deviceId to enable the modal, and set to null to close the modalhttps://www.notion.so/f2c3194e9f654046b652a1b833534a8c?v=fd2b298eeb4d42d1b48f6adcbb56b90a&p=e7bb4aa34006499887257d380fd30c3a&pm=s
The text was updated successfully, but these errors were encountered: