pushtell/react-bootstrap-date-picker

Datepicker inside Popover

Opened this issue · 0 comments

Subha commented

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

  • Version used:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
  • Link to your project: