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.
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: )
Most helpful comment
You're welcome, my friend: )