Date picker calendar dialog is moving DOM to the top

Author: AndrewMerkeCreated Sep 17, 2019Updated Dec 31, 2025

I have problem with react-toolbox's date picker and want to ask maybe someone had same problem. So, when I click on date picker input calendar dialog opens and moves background to top of the page. I want that modal would open on same position, where I am clicking.

I am using very simple date picker:

bash
import * as React from 'react';
import DatePickerBase, { DatePickerProps } from 'react-toolbox/lib/date_picker/DatePicker';

export type DatePickerProps = {} & DatePickerBase;

export const DatePicker: React.SFC<DatePickerProps> = ({ ...props }) => {
  return <DatePickerBase {...props} />;
};

Maybe some had same problem with other dialogs? I would appreciate for any help.

Source: react-toolbox/react-toolbox