Open pomber opened 2 years 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![image](https://user-images.githubusercontent.com/1911623/172632972-74782f6b-e2a0-47a9-89fe-d98e9d9a8bc1.png)