You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/core/src/index.ts
+5-8
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,8 @@ export type DragOptions = {
82
82
*
83
83
* At present this is true by default, but will be changed to false in a future major version.
84
84
*
85
-
* @default true
85
+
* @default false
86
+
* @deprecated Use `transform` option instead for transform: translate() or any other custom transform. Will be removed in v3.
86
87
*/
87
88
legacyTranslate?: boolean;
88
89
@@ -92,6 +93,7 @@ export type DragOptions = {
92
93
* `true` by default, but can be set to `false` if [blurry text issue](https://developpaper.com/question/why-does-the-use-of-css3-translate3d-result-in-blurred-display/) occur
93
94
*
94
95
* @default true
96
+
* @deprecated Use `transform` option instead with translate(x, y, 1px). 1px forces some browsers to use GPU acceleration. Will be removed in v3
0 commit comments