Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date picker calendar dialog is moving DOM to the top #1928

Open
AndrewMerke opened this issue Sep 17, 2019 · 0 comments
Open

Date picker calendar dialog is moving DOM to the top #1928

AndrewMerke opened this issue Sep 17, 2019 · 0 comments

Comments

@AndrewMerke
Copy link

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant