-
-
Notifications
You must be signed in to change notification settings - Fork 169
Description
Overview of the problem
Oruga version: [0.12.0]
Vuejs version: [3.5.24]
OS/Browser: any browser
Theme-Bulma: [0.8.0]
Description
The Modal props closable, close-on-outside, close-on-escape are not working as expected, no matter if they are true or false, the observed behaviour is that it allways act as if the value is true, ignoring the false value.
Expected behavior
Expected the documented behaviour, that is, when the value of the prop is false, prevent the efect of the prop, when true allow the efect of the prop.
Actual behavior
No matter if the prop has value true or false, it allways act as a true value.
Steps to reproduce
Just create a modal with the three props and assign the false value to each one, when showing the modal try escape or click aoutside the modal, it allways close, should not close if the prop values are false.
Here is a code example:
<OModal v-model:active="despliega_modal" width="56rem" :closable="false" :close-on-outside="false" :close-on-escape="false" > ....