Closed pomber closed 3 months ago
Should handle better when the is out of range or empty: demo
Another empty focus problem: https://play.codehike.org/#N4IgtgJgHiBcIB0B2BiABACQKYBscHtlkBRCASwBc0wsA6IpAA2YCsBnNAM3wGMBXNgF4ATMjJgADvgBOVYNXwUy+JGgC+XafjBoEITtICGNaQFowi5Uj0MeKtlQpGkbSlbSC08iHyNKVsGgAjOrIzIwMIAA0IDxsbHAgtBLSWABuZFgA7qZ2SBSGZEhY0l66qtSG0gDmRYEAHBJQANzlatGxKpxk1XCgOEVYAHJ8YABGJQmwnIY4bFgxbAAW+FkAwvgSAJ4AQnwUFCpwM3MLIBRLWDSJYIYUJWSzphBVANYlIGpqQA
```js focus=2 import { motion } from "framer-motion" const transition = { duration: 1 }
Should handle better when the is out of range or empty: demo