Removed portal for datepicker on mobile
• Removed: - portal for datepicker on mobile in favor of popup view card from bottom like all other popovers/modals on mobile
This commit is contained in:
parent
94439dc86d
commit
dd633ebf7e
@ -61,7 +61,6 @@ class DatePickerPopover extends PureComponent {
|
|||||||
const { date, isPro, isXS } = this.props
|
const { date, isPro, isXS } = this.props
|
||||||
|
|
||||||
const datePickerDisabled = !isPro
|
const datePickerDisabled = !isPro
|
||||||
const withPortal = isMobile(window.innerWidth)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PopoverLayout width={331} isXS={isXS}>
|
<PopoverLayout width={331} isXS={isXS}>
|
||||||
@ -79,7 +78,6 @@ class DatePickerPopover extends PureComponent {
|
|||||||
dateFormat='MMM d, yyyy h:mm aa'
|
dateFormat='MMM d, yyyy h:mm aa'
|
||||||
disabled={datePickerDisabled}
|
disabled={datePickerDisabled}
|
||||||
showTimeSelect
|
showTimeSelect
|
||||||
withPortal={withPortal}
|
|
||||||
popperModifiers={{
|
popperModifiers={{
|
||||||
offset: {
|
offset: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user