R
R
ruff262019-03-08 10:38:38
Bootstrap
ruff26, 2019-03-08 10:38:38

A modal window in vuejs is dependent on the context of the parent. How to decide?

I need a bootstrap modal window (with custom styling) to be used in a vue component. (laravel). The problem is that the component with the modal is in the dropdown and it ends up inside. Is it possible to somehow throw the modal outside or do I need to create a window separately and pass the component inside?
The found ready-made libraries do not allow customizing the window style. Or can someone suggest one?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
crdrads, 2019-03-08
@crdrads

https://github.com/LinusBorg/portal-vue

A
Alexander Drozdov, 2019-03-08
@bagzon

Well, you can throw a modal anywhere, and open it by which thread of St-vu from data, or by event.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question