diff --git a/src/renderers/Form/InputColor.tsx b/src/renderers/Form/InputColor.tsx index 73e7bc2a7..d44dcb362 100644 --- a/src/renderers/Form/InputColor.tsx +++ b/src/renderers/Form/InputColor.tsx @@ -88,7 +88,7 @@ export default class ColorControl extends React.PureComponent< popOverContainer={ mobileUI && env && env.getModalContainer ? env.getModalContainer - : undefined + : rest.popOverContainer } value={value || ''} /> diff --git a/src/renderers/Form/InputDate.tsx b/src/renderers/Form/InputDate.tsx index 95f07b0be..f16c5b665 100644 --- a/src/renderers/Form/InputDate.tsx +++ b/src/renderers/Form/InputDate.tsx @@ -445,7 +445,7 @@ export default class DateControl extends React.PureComponent< popOverContainer={ mobileUI && env && env.getModalContainer ? env.getModalContainer - : undefined + : rest.popOverContainer } timeFormat={timeFormat} format={valueFormat || format} diff --git a/src/renderers/Form/InputDateRange.tsx b/src/renderers/Form/InputDateRange.tsx index e33c762fa..2551a90b2 100644 --- a/src/renderers/Form/InputDateRange.tsx +++ b/src/renderers/Form/InputDateRange.tsx @@ -187,7 +187,7 @@ export default class DateRangeControl extends React.Component { popOverContainer={ mobileUI && env && env.getModalContainer ? env.getModalContainer - : undefined + : rest.popOverContainer } data={data} format={format}