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

RangePicker - didn't hide picker panel automatically when click presupposed ranges. #7747

Closed
yutingzhao1991 opened this issue Sep 27, 2017 · 4 comments
Assignees
Labels

Comments

@yutingzhao1991
Copy link
Contributor

@yutingzhao1991 yutingzhao1991 commented Sep 27, 2017

Version

2.13.3

Environment

Mac, Chrom 版本 60.0.3112.113(正式版本) (64 位)

Reproduction link

https://codepen.io/yutingzhao1991/pen/NapaVj?editors=0010

Steps to reproduce

Click to open RangePicker panel, then click presupposed ranges. Panel didn't hide automatically.

What is expected?

Panel hidden automatically.

What is actually happening?

Panel didn't hide automatically.


点击RangePicker中预置的时间范围,选择面板没有自动隐藏。鼠标hover到预置的时间范围的时候确定按钮是置灰的,这种情况应该是用户不需要再去手动点击确定,而是直接隐藏选择面板并触发onOk。

@benjycui
Copy link
Contributor

@benjycui benjycui commented Sep 27, 2017

鼠标hover到预置的时间范围的时候确定按钮是置灰的

这个交互是有问题,确认按钮应该是蓝色才对。但不关闭是正常的。

@benjycui benjycui self-assigned this Sep 27, 2017
@afc163
Copy link
Member

@afc163 afc163 commented Sep 27, 2017

应该始终关闭的,presets range 是快键方式,应该自带 ok 按钮的交互属性,否则就不够『快键』了。

@benjycui benjycui closed this in 7841386 Oct 17, 2017
@benjycui
Copy link
Contributor

@benjycui benjycui commented Oct 31, 2017

7841386#commitcomment-25229144

@afc163 所以在点击预设值时,也同时出发 onOk?

@benjycui benjycui reopened this Oct 31, 2017
@Da-Sheng
Copy link

@Da-Sheng Da-Sheng commented Jan 24, 2018

@benjycui 我翻到了这个问题,借楼问一下,我在点击预设值时,onOk没触发,只是触发了onChange,请问怎么处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants