ElemeFE / ElemeFE/element

[Bug Report] Datepicker / Timepicker dropdowns position bug in modal dialog

Open
#18,036 6 comments 4 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.12.0

### OS/Browsers version
MAC OS, CHROME

### Vue version
2.5.2

### Reproduction Link
https://jsfiddle.net/o7dexpma/

### Steps to reproduce
Just put a datepicker or a timepicker inside a modal dialog, and you will see that the dropdown will appear at the top of the page, not in the input

### What is Expected?
The dropdown in the right position

### What is actually happening?
The dropdown shows outside the container

![image](https://user-images.githubusercontent.com/6561770/68672297-934cdf80-0551-11ea-8923-1f88d8db5fa7.png)

![image](https://user-images.githubusercontent.com/6561770/68672423-e32ba680-0551-11ea-9f75-c16896e6153e.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.