ElemeFE / ElemeFE/element

[Bug Report] datePicker close dropdown menu when selecting a date (even if hide-on-click is false)

Open
#15,945 4 comments 2 reactions 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.9.1

### OS/Browsers version
Windows 10 / Chrome version 74.0.3729.169

### Vue version
2.6.10

### Reproduction Link
https://codepen.io/anon/pen/YbbqpN

### Steps to reproduce
Select date in datePicker when that component is nested in the dropdown component (with hide-on-click=false)

### What is Expected?
Dropdown should not close itself (if hide-on-click is false) after selecting date in datePicker

### What is actually happening?
Dropdown close itself after selecting date in datePicker

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reproduction link and verify the datePicker nested inside a dropdown with hide-on-click=false. Trace the date-selection behavior and dropdown close handling; done means selecting a date leaves the dropdown open while preserving normal closing behavior when hide-on-click is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.