Skip to content
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

calendar component is difficult to select right minute #188

Closed
Liiiiimo opened this issue Dec 24, 2018 · 3 comments
Closed

calendar component is difficult to select right minute #188

Liiiiimo opened this issue Dec 24, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Liiiiimo
Copy link

Version

0.9.10

Environment

android 8.0.0

Reproduction link

https://ng-zorro-antd-mobile-start-hx49py.stackblitz.io

Steps to reproduce

<ListItem [arrow]="‘horizontal’" (onClick)=“show=true”>

选择 1月1日8时50分

<Calendar [locale]="‘zhCN’" [visible]=“show” [defaultDate]=“now” [pickTime]="‘true’" [type]="‘range’" [infinite]=“true” (onCancel)=“show=false”

(onConfirm)=“show=false” >

now = new Date; show:boolean = true;

What is expected?

选择日期之后,选择相应的时分。
After selecting the date, select the appropriate time.

What is actually happening?

上滑下滑选择分钟的时候,发现重复了上一区域的分钟,例如刚好滚动在15-19分,再上滑的时候,区域不是在20分往后的区域,而是不断地重现10-19分区域。
When you slide down or up to select minutes, you can find that the minutes of the previous area are repeated, for example, just rolling between 15-19 minutes, and then sliding up, the area is not in the 20 area, but continuously reproduces 10- 19 points area.

Other?

@3fuyu 3fuyu self-assigned this Dec 25, 2018
@3fuyu
Copy link
Contributor

3fuyu commented Dec 25, 2018

@Liiiiimo It's a bug, I will fix it.

@3fuyu 3fuyu added the bug Something isn't working label Dec 25, 2018
@Liiiiimo
Copy link
Author

same problem with DatePicker, thinks.

@3fuyu
Copy link
Contributor

3fuyu commented Dec 27, 2018

it will effective in next version

@3fuyu 3fuyu closed this as completed Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants