@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.
- package/dist/index.common.js +4 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -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
|
-
|
|
10022
|
+
setTimeout(()=>{
|
|
10023
|
+
callback(); //解决嵌套animation的时候 duration过小时会出现瞬间执行完毕的问题
|
|
10024
|
+
})
|
|
10022
10025
|
};
|
|
10023
10026
|
if (endEvent) {
|
|
10024
10027
|
dom.style[styleName] = transitionValue;
|
package/package.json
CHANGED