We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.5.7
2.6.1
iPhone 11 iOS13.0
https://didi.github.io/mand-mobile/#/zh-CN/docs/components/feedback/date-picker
以“日期时间选择”demo为例,同时快速滑动5列,除了起始滑动列,其余全部停留异常,分别点击一下又恢复默认初始值。(易复现)
不要有异常停留列,如果滑动过快,希望恢复至初始值。
同时快速滑动多列,除了起始滑动列,其余全部停留异常
在源码picker/picker-column.vue的$_onColumnScrollEnd(index)方法,只处理了isInvalid的情况,当activeItemIndex === this.activedIndexs[index]时直接return了,补充上逻辑则正常:
if (isInvalid || activeItemIndex === this.activedIndexs[index]) { isInvalid && this.$_scrollToValidIndex(scroller, index, activeItemIndex); activeItemIndex === this.activedIndexs[index] && this.$_scrollToIndex(scroller, index, activeItemIndex); return false; }
The text was updated successfully, but these errors were encountered:
fix(picker&date-picker): handling when rolling too fast & remove redu…
c3c5350
…ndant padding #632
fix(picker&date-picker): handling when rolling too fast & remove redu… (
c7aae83
#633) * fix(picker&date-picker): handling when rolling too fast & remove redundant padding #632 * test(date-picker): fix test cases not idempotent
xxyan0205
No branches or pull requests
Mand Mobile Version
2.5.7
Vue Version
2.6.1
Model / OS & Browser Info
iPhone 11 iOS13.0
Recurring Links
https://didi.github.io/mand-mobile/#/zh-CN/docs/components/feedback/date-picker
Recurring Steps
以“日期时间选择”demo为例,同时快速滑动5列,除了起始滑动列,其余全部停留异常,分别点击一下又恢复默认初始值。(易复现)
Expectant Behaviors
不要有异常停留列,如果滑动过快,希望恢复至初始值。
Actual Behaviors
同时快速滑动多列,除了起始滑动列,其余全部停留异常
在源码picker/picker-column.vue的$_onColumnScrollEnd(index)方法,只处理了isInvalid的情况,当activeItemIndex === this.activedIndexs[index]时直接return了,补充上逻辑则正常:
The text was updated successfully, but these errors were encountered: