Dragging » Min and Max

Min and Max

πŸ“˜ The Framer book – 🧲 Dragging open in FramerΒ Instead of setting dragConstraints, you can add min and max values to dragTransition. This has the same effect.So instead of writing this:export function DragConstraints(Component): ComponentType { return (props) => { return ( <Component {...props} drag dragConstraints={{ top: -250, right: 250, bottom: 250, left: -250, }} /> […]
To access this page, you must purchase The Framer book.