Vue-js-modal: prop "Adaptive" is not working in new release

Created on 5 Jul 2017  路  3Comments  路  Source: euvl/vue-js-modal

After I npm install the lastest version, I found that prop "adaptive" is not working.
In the code:
if (this.adaptive) {
this.modal.width = (0, _util.inRange)(0, this.window.width * this.maxAdaptiveWidth, this.modal.width);
...

this.maxAdaptiveWidth is always "undefined" when set a breakpoint before it.
I need to set it to 1 to make "adaptive" work.
Please check it.

bug

Most helpful comment

You're welcome, my friend: )

All 3 comments

Oh shit, my bad, thanks a lot for spotting it.

Did not mean to publish master to npm >_< 馃挬

Published [email protected]. That should fix the issue.
Again, thanks a lot for reporting it! 馃憤 馃憤 馃憤

You're welcome, my friend: )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Max64 picture Max64  路  4Comments

Zyles picture Zyles  路  5Comments

songoo picture songoo  路  4Comments

alex3683 picture alex3683  路  4Comments

yyh1102 picture yyh1102  路  3Comments