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

Comments

Projects
None yet
6 participants
@yutingzhao1991
Contributor

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

This comment has been minimized.

Contributor

benjycui commented Sep 27, 2017

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

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

@benjycui benjycui self-assigned this Sep 27, 2017

@afc163

This comment has been minimized.

Member

afc163 commented Sep 27, 2017

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

@benjycui benjycui closed this in 7841386 Oct 17, 2017

@benjycui

This comment has been minimized.

Contributor

benjycui commented Oct 31, 2017

7841386#commitcomment-25229144

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

@benjycui benjycui reopened this Oct 31, 2017

@Da-Sheng

This comment has been minimized.

Da-Sheng commented Jan 24, 2018

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

yesmeck added a commit that referenced this issue Feb 1, 2018

yesmeck added a commit that referenced this issue Feb 1, 2018

@yesmeck yesmeck closed this in 70f30ef Feb 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment