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

Allow to position the calendar relative to an element. #259

Open
whataboutpereira opened this issue May 8, 2024 · 0 comments
Open

Allow to position the calendar relative to an element. #259

whataboutpereira opened this issue May 8, 2024 · 0 comments

Comments

@whataboutpereira
Copy link
Contributor

Right now the calendar attaches itself to the end of body in input mode.

It would be nice to be able to attach it relative to a given element as this would alleviate some z-index issues when the calendar is for example used inside a modal that covers the view. Also with relative positioning repositioning on scroll and resize wouldn't always be needed.

I tried moving the calendar after the input element in initCalendar(), but it is still positioned relative to the page.

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