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

Data entry components such as Input, DatePicker don't work as expected while combining with Drawer. #11303

Closed
1 task done
kennylbj opened this issue Jul 17, 2018 · 3 comments
Assignees
Labels
🤔 Need Reproduce We cannot reproduce your problem

Comments

@kennylbj
Copy link

kennylbj commented Jul 17, 2018

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

Version

3.7.0

Environment

MacOS: Darwin kenny.local 17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64
Chrome: Version 67.0.3396.99 (Official Build) (64-bit)

Reproduction link

https://ant.design/components/drawer-cn/

Steps to reproduce

Just look at the edit item in drawer example in official site
Select and DatePicker can not select values.

<Drawer
   title='Create'
   visible={drawerVisible}
>
<Form layout="vertical">
    <Row gutter={16}>
          <Col span={12}>
            <Form.Item label="type">
              {getFieldDecorator('type', {
                rules: [{ required: true, message: 'Please select type' }],
              })(
                <Select placeholder="Please select type">
                  <Option value="xiao">Xiaoxiao Fu</Option>
                  <Option value="mao">Maomao Zhou</Option>
                </Select>
              )}
       </Form.Item>
     </Col>
  </Row>
</Drawer>

What is expected?

The Select and DatePicker components are selectable

What is actually happening?

Data entry components don't work as expected

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Jul 17, 2018
@ant-design-bot
Copy link
Contributor

Hello @kennylbj. 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.

@kennylbj
Copy link
Author

kennylbj commented Jul 17, 2018

Official site demo edit item in drawer already reproduce the behavior above. The Owner, Approver and DateTime could not select values.
This is official codepen.
@afc163

@afc163
Copy link
Member

afc163 commented Jul 17, 2018

Thx for reporting, same issue as #11304

@afc163 afc163 closed this as completed Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

3 participants