mirror of
https://github.com/youzan/vant.git
synced 2026-03-07 02:01:06 +08:00
fix: transition utils translateZ
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user