@dolphinweex/weex-vue-render 0.2.98 → 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.
@@ -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 > screenWidth) {
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
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+ssh://git@github.com/weexteam/weex-vue-render.git"
51
51
  },
52
- "version": "0.2.98"
52
+ "version": "0.2.100"
53
53
  }