If we're using tabs and tab content is prereneder then swipe list is only working on first tab, on second it will not swipe. Here is a reproducer: React Playground
It is happening because maxSwipeThreshold is 0 on initial render and when offsetWidth of element changes it is not reflected: https://github.com/marekrozmus/react-swipeable-list/blob/main/src/SwipeableListItem.js#L149C7-L149C61
If we're using tabs and tab content is prereneder then swipe list is only working on first tab, on second it will not swipe. Here is a reproducer: React Playground
It is happening because maxSwipeThreshold is 0 on initial render and when offsetWidth of element changes it is not reflected: https://github.com/marekrozmus/react-swipeable-list/blob/main/src/SwipeableListItem.js#L149C7-L149C61