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 datePickerDisabled = !isPro
|
||||
const withPortal = isMobile(window.innerWidth)
|
||||
|
||||
return (
|
||||
<PopoverLayout width={331} isXS={isXS}>
|
||||
@ -79,7 +78,6 @@ class DatePickerPopover extends PureComponent {
|
||||
dateFormat='MMM d, yyyy h:mm aa'
|
||||
disabled={datePickerDisabled}
|
||||
showTimeSelect
|
||||
withPortal={withPortal}
|
||||
popperModifiers={{
|
||||
offset: {
|
||||
enabled: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user