diff --git a/dev/react/src/examples/Drag-constraints-ref.tsx b/dev/react/src/examples/Drag-constraints-ref.tsx index b2dfbf0bc5..5577f9184b 100644 --- a/dev/react/src/examples/Drag-constraints-ref.tsx +++ b/dev/react/src/examples/Drag-constraints-ref.tsx @@ -18,6 +18,11 @@ const child = { borderRadius: 20, } +/** + * This sibling layout animation is designed to fuzz/stress the drag constraints + * measurements. Remeasuring the constraints during drag would previously mess + * up the position of the draggable element. + */ const SiblingLayoutAnimation = () => { const [state, setState] = useState(false) @@ -48,7 +53,6 @@ export const App = () => {