react-swipeable-views icon indicating copy to clipboard operation
react-swipeable-views copied to clipboard

fix: should set viewLength to the content size, without paddings

Open meowtec opened this issue 4 years ago • 1 comments

Fix the slow speed problem when custom width.

reproduce

  1. edit docs/src/pages/demos/DemoWidth.js
  2. set root.padding to 0 120px
  3. Swipe the Custom Width demo

meowtec avatar Jun 23 '21 05:06 meowtec

This should also fix #422

meowtec avatar Jun 24 '21 11:06 meowtec