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

TimePicker style error, when format = 'HH:mm' #13194

Closed
DarylsJoy opened this Issue Nov 19, 2018 · 2 comments

Comments

Projects
None yet
4 participants
@DarylsJoy

DarylsJoy commented Nov 19, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.10.8

Environment

Chrome 70

Reproduction link

https://ant.design/components/time-picker/

Steps to reproduce

when set format = 'HH:mm' (hide second), item .ant-time-picker-panel-input overflow its wrapper

隐藏掉选择器一部分后,展示值的元素长度没有变化,仍是之前的长度,导致溢出其父级元素。

What is expected?

not overflow

What is actually happening?

overflow

@ant-design-bot

This comment was marked as outdated.

ant-design-bot commented Nov 19, 2018

Hello @DarylsJoy. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @DarylsJoy, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击此处创建。7 天内未跟进的 issue 将会被自动关闭。

@afc163 afc163 added Bug🐛 and removed Need Reproduce🤔 labels Nov 19, 2018

@afc163

This comment has been minimized.

Member

afc163 commented Nov 19, 2018

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