Skip to content

Conversation

@ljunb
Copy link
Contributor

@ljunb ljunb commented Jun 8, 2018

今天发现了另外一个问题:当分段器所有的 item 的宽度和小于屏幕宽度,点击后面的按钮时,会滚动到屏幕最右侧。所以添加了个判断,当内容宽度小于屏幕宽度时,滚动的 offsetX 设置为0。

@ljunb ljunb closed this Jun 20, 2018
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