@dolphinweex/weex-vue-render 0.2.20 → 0.2.21

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.
@@ -5064,6 +5064,7 @@ var inputCommon = {
5064
5064
  methods: {
5065
5065
  focus: function focus () {
5066
5066
  this.$el && this.$el.focus();
5067
+ this.$el && weex.requireModule('bridgeModule').commandInterface(JSON.stringify({ operation: 'showKeyboard'}))
5067
5068
  },
5068
5069
  blur: function blur () {
5069
5070
  this.$el && this.$el.blur();
@@ -10018,7 +10019,9 @@ function transitionOnce (vnode, config, callback) {
10018
10019
  dom.removeEventListener(endEvent, transitionEndHandler);
10019
10020
  dom.style[styleName] = '';
10020
10021
  }
10021
- callback();
10022
+ setTimeout(()=>{
10023
+ callback(); //解决嵌套animation的时候 duration过小时会出现瞬间执行完毕的问题
10024
+ })
10022
10025
  };
10023
10026
  if (endEvent) {
10024
10027
  dom.style[styleName] = transitionValue;
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.20"
52
+ "version": "0.2.21"
53
53
  }