Skip to content

Conversation

@meowtec
Copy link
Contributor

@meowtec meowtec commented Jun 23, 2021

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 meowtec changed the title fix: should get view length from the container node [WIP]fix: should get view length from the container node Jun 24, 2021
@meowtec meowtec changed the title [WIP]fix: should get view length from the container node fix: should set viewLength to the content size, without paddings Jun 24, 2021
@meowtec
Copy link
Contributor Author

meowtec commented Jun 24, 2021

This should also fix #422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant