Vue-material: dialog property `md-click-outside-to-close` bug

Created on 19 Jan 2017  路  2Comments  路  Source: vuematerial/vue-material

Setting md-click-outside-to-close to false does not stop the dialog from closing when clicking outside the dialog.

  • Here is a codepen with the property on line 12
question

Most helpful comment

Thanks for the quick response, I was trying to use a normal html attribute, for future reference I did not understand dynamic props were being used here. This was my fault I hope the link helps people in the future.

P.S. thanks for the great library

All 2 comments

You have to bind the value to the component:
:md-click-outside-to-close="false" instead of md-click-outside-to-close="false". Note the colon...

Thanks for the quick response, I was trying to use a normal html attribute, for future reference I did not understand dynamic props were being used here. This was my fault I hope the link helps people in the future.

P.S. thanks for the great library

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lee-frank picture lee-frank  路  3Comments

andreujuanc picture andreujuanc  路  3Comments

korylprince picture korylprince  路  3Comments

bryanspearman picture bryanspearman  路  3Comments

tridcatij picture tridcatij  路  3Comments