ElemeFE / ElemeFE/element

[bug report] when the time selector is open and not closed, manually switch the type of the date picker component, and opening the time selector again will open the page

Open
#18,581 4 comments 1 reaction 0 assignees View on GitHub
stale
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
window10旗舰版 / Google Chrome版本 79.0.3945.88(正式版本) (64 位)

### Vue version
2.5.2

### Reproduction Link
https://codepen.io/xqrrrr/pen/jOEGRoO

### Steps to reproduce
DatePicker

1、打开时间选择面板后,不关闭日期选择面板

2、点击按钮手动切换DatePicker的类型,更改为month或者year

3、再次点击打开时间选择面板

4、DatePicker不会append到body下,而是会append到对应的div中,从而导致样式错乱

### What is Expected?
DatePicker更改类型不会出现在对应的div中

### What is actually happening?
DatePicker不会append到body下,从而导致布局错乱

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.