Open reallyalexpro opened 4 years ago
This only happens in b-modal
...
Happens to me, too. Any idea how to fix it? I would really like to use your component in a b-modal dialog.
I find the dom is destroyed when the b-modal
is hidden.
I'm trying to use it with b-modal too, same problem.
Possible fix
for anyone using it in bootstrap:
add static
and lazy
props set to 'true' to b-modal
ref: (https://bootstrap-vue.org/docs/components/modal#lazy-loading-and-static-modals)
Reproduced and tested: https://codesandbox.io/s/elated-dubinsky-8fill?fontsize=14&hidenavigation=1&theme=dark
In code mode cursor jumps to start position after json edit.