fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

DatePicker: Cannot select month, year, header etc. when placed inside react bootstrap modal

Open javedsha opened this issue 9 years ago • 2 comments

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/ datepickercallstack **

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 avatar Sep 08 '17 14:09 javedsha

@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?

erichdev avatar Oct 16 '17 20:10 erichdev

Closing because no response and this may be an issue with React Bootstrap. Please reopen if you still experience issues.

erichdev avatar Oct 19 '17 00:10 erichdev