Skip to content

Update SwipeableTabBarMixin.js #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jianfenkezhan
Copy link

/**

  • 修复totalAvaliableDelta & tabWidth 计算不准的bug
  • panels 动态变化时,比如增加时,最后一页panels出现定位错误。
  • 因为totalAvaliableDelta的值始终不变导致了此bug.
  • 解决办法,在componentWillReceiveProps里面, 及时更新;
    */

/**
   * 修复`totalAvaliableDelta` & `tabWidth` 计算不准的bug
   * 当 `panels` 动态变化时,比如增加时,最后一页`panels`出现定位错误。
   * 因为`totalAvaliableDelta`的值始终不变导致了此bug.
   * 
   * 解决办法,在`componentWillReceiveProps`里面, 及时更新;
   */
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