DatePicker: Cannot select month, year, header etc. when placed inside react bootstrap modal
Bug Report
- Package version(s): 4.43.0
Are you willing to submit a PR to fix? (Yes, No) No
Requested priority: (Blocking, High, Normal, Low) Blocking
Products/sites affected: (if applicable) Microsoft Internal
Describe the issue:
DatePicker component when used inside react bootstrap model, I am unable to select month, year etc. The date picker opens properly (though i have to set higher z-index), but once i try to click anywhere inside the date picker, it closes. The method '_calendarDismissed' is called immediately. **I have attached the callstack/
**
I am able to use the component properly if not placed inside the Modal component.
Actual behavior:
Date picker closes when clicked anywhere inside the date picker
Expected behavior:
Day, month, year should get selected and date picker should not get closed until and unless the day is selected.
@javedsha I'm not sure what the conflict is with React Bootstrap's modal, but Fabric has its own Modal and Dialog components. I tested with Dialog and did not experience this issue. Could you use Fabric's Dialog instead?
Closing because no response and this may be an issue with React Bootstrap. Please reopen if you still experience issues.