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

bad container positioning when using in modal #384

Open
alih70442 opened this issue Nov 6, 2021 · 1 comment
Open

bad container positioning when using in modal #384

alih70442 opened this issue Nov 6, 2021 · 1 comment

Comments

@alih70442
Copy link

problem: when you attach datepicker to a textField that is placed in a modal, and the modal has vertical scroll,
after scrolling, the datepicker container is positionate like a fixed dom.
It happens because, datepicker has absolute position relative to body, not relative to its own textInput.

alih70442 added a commit to alih70442/pwt.datepicker that referenced this issue Nov 6, 2021
@sortheme
Copy link

problem: when you attach datepicker to a textField that is placed in a modal, and the modal has vertical scroll, after scrolling, the datepicker container is positionate like a fixed dom. It happens because, datepicker has absolute position relative to body, not relative to its own textInput.

hi, do you have any idea to fix this?

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

2 participants