pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
346 stars 195 forks source link

Datepicker inside Popover #168

Open Subha opened 4 years ago

Subha commented 4 years ago

Table of Contents

Expected Behavior

When a datePicker is inside another popover. I select a date 07/9/2020 and input field sets the date. The popover should be opened.

Current Behavior

When a datePicker is inside another popover. I select a date 07/9/2020 and input field sets the date. The popover also closes when the Date is selected due the handleHide function.

Possible Solution

I am here to see if this scenario is supported and if there is a way to achieve this.

Steps to Reproduce (for bugs)

  1. Add a popover to open on click of a button
  2. Pass this datepicker as one of its children
  3. From UI (app) Click Button to open the popover
  4. Now click the Datepicker button and select a date.
  5. The date gets applied, datepicker gets closed and also the popover closes.

Context

Your Environment