@npm_leadtech/legal-lib-components 5.14.4 → 5.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,6 +61,7 @@ const DatePickerCustom = ({ class: className, dateFormat = 'MM/dd/yyyy', isStart
61
61
  let propsForMobileDevices = {};
62
62
  if (isMobile) {
63
63
  propsForMobileDevices = {
64
+ portalId: 'root-portal',
64
65
  withPortal: true,
65
66
  onFocus: (event) => {
66
67
  setEvent(event);
@@ -7,11 +7,6 @@ export const DatePickerCustomStyled = styled.div `
7
7
  flex-flow: column-reverse;
8
8
  margin-bottom: 2rem;
9
9
 
10
- .react-datepicker__portal {
11
- padding-top: 3rem;
12
- align-items: self-start;
13
- }
14
-
15
10
  .e-datepicker {
16
11
  &__inner {
17
12
  margin-bottom: 0.5rem;
@@ -8,11 +8,6 @@ export const DatePickerCustomStyled = styled.div`
8
8
  flex-flow: column-reverse;
9
9
  margin-bottom: 2rem;
10
10
 
11
- .react-datepicker__portal {
12
- padding-top: 3rem;
13
- align-items: self-start;
14
- }
15
-
16
11
  .e-datepicker {
17
12
  &__inner {
18
13
  margin-bottom: 0.5rem;
@@ -96,6 +96,7 @@ const DatePickerCustom: FC<DatePickerCustomProps> = ({
96
96
 
97
97
  if (isMobile) {
98
98
  propsForMobileDevices = {
99
+ portalId: 'root-portal',
99
100
  withPortal: true,
100
101
  onFocus: (event) => {
101
102
  setEvent(event)