Open ga676005 opened 2 years ago
Thanks for the instructions but still I could not replicate the issue. In production PrimeVue Editor seems to working. How can I replicate the issue? If you could send us a codesandbox sample, we could see the problem exactly.
Thank you for your reply. I have made a minimal reproduction. It only happens in production mode, so I create a repo. deployed on netlify: https://627b815fb6efcf54792e9b00--splendid-tulumba-1cb97b.netlify.app/
Editor
, notice the dropdown is clickableEditor
again, now dropdown is not clickableIf you open the console of Chrome, you will see this warning every time the editor is showed
If it runs in dev mode by npm run dev
, the Editor function well.
@tugcekucukoglu Hi, I have added the reproduction.
Sorry that I forgot one step. You need to npm run build
first to be able to npm run preview
.
Hi Guys I have exactly same issue with editor. Any chances we can get fix soon or I should try another editor?
@tugcekucukoglu I am also having this same issue. It seems to not re-initialize after being toggled with v-if
. It starts to work again only after doing a full page refresh. I will attach a video below. Hope this gets fixed soon.
Screencat:
To anyone looking for a quick fix: It works fine if you set the toolbar prop as an array of items instead of using the ref.
For example:
modules: { toolbar: ['bold', 'italic', 'underline'] }
Is there an update to this? I am still seeing this issue.
I still have the same issue? did anyone solve this?
I still have the same issue? did anyone solve this?
@mquintero0118 I assume if you still have this issue and it's still Open
on Github then it hasn't been solved yet.
I'm submitting a ... (check one with "x")
CodeSandbox Case (Bug Reports) cannot reproduce because it only happens on production. It shows a warning message on chrome
[Violation] Added synchronous DOM mutation listener to a 'DOMNodeInserted' event. Consider using MutationObserver to make the page more responsive.
when the Editor is added to the DOM. I have looked it up and It seems to be an issue from Quill.Current behavior The dropdown of Editor stop working after toggling by v-if or route change.
Expected behavior The dropdown of Editor should always work.
Minimal reproduction of the problem with instructions https://user-images.githubusercontent.com/51456572/167564684-ddb8e1f0-a192-43f9-91d2-963672758a03.mp4
Vue version: 3.2.31
PrimeVue version: 3.12.6
Browser: Chrome and Firefox show message in the console when I toggle v-if of the Editor.
Chrome 101.0.4951.54
[Violation] Added synchronous DOM mutation listener to a 'DOMNodeInserted' event. Consider using MutationObserver to make the page more responsive.
Edge 101.0.1210.39
Firefox Developer Edition 101.0b4
已棄用 Mutation Events。請改用 MutationObserver。
which means Mutation Events are abandoned, use MutationObserver instead.