I am trying to utilise the code I came up with by far so that the carousel would have an infinite scroll effect, and not bounce back when reached the last item in the children array. Is there some sort of a quick hotfix to this solution, so the carousel would be able to infinitely scroll horizontally with both swipe and keypress?
The code I came up with by far with the carousel widget: Codesandbox