@dolphinweex/weex-vue-render 0.2.99 → 0.2.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -2746,7 +2746,7 @@ function init$1 (viewportWidth) {
|
|
|
2746
2746
|
var newWidth = doc.documentElement.clientWidth;
|
|
2747
2747
|
var newHeight = doc.documentElement.clientHeight;
|
|
2748
2748
|
console.log('[px2rem] poll@' + label + ': clientWidth=' + newWidth + ' (was ' + screenWidth + ')');
|
|
2749
|
-
if (newWidth >
|
|
2749
|
+
if (newWidth > screenWidth && window.orientation === 0) {
|
|
2750
2750
|
console.log('[px2rem] poll@' + label + ' FIX triggered: ' + screenWidth + ' -> ' + newWidth);
|
|
2751
2751
|
screenWidth = newWidth;
|
|
2752
2752
|
screenHeight = newHeight;
|
package/package.json
CHANGED