mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix: transition utils translateZ
This commit is contained in:
parent
b01a85318b
commit
1e8e2f8c06
@ -43,7 +43,7 @@ if (!Vue.prototype.$isServer) {
|
||||
}
|
||||
|
||||
cancelTranslateElement(element);
|
||||
element.style[transformProperty] += ' translate(' + (x ? (x + 'px') : '0px') + ',' + (y ? (y + 'px') : '0px') + ')';
|
||||
element.style[transformProperty] += ' translate(' + (x ? (x + 'px') : '0px') + ',' + (y ? (y + 'px') : '0px') + ') translateZ(0px)';
|
||||
};
|
||||
|
||||
var cancelTranslateElement = function(element) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user