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

DateElement has no appendToBody #223

Open
jadrake75 opened this issue Apr 17, 2024 · 1 comment
Open

DateElement has no appendToBody #223

jadrake75 opened this issue Apr 17, 2024 · 1 comment

Comments

@jadrake75
Copy link

Environment

vuejs: 3.4.21, vueform: 1.9.5
Using tailwind

Reproduction

A minimal reproduction has been created. In it the Date Picker "vertical" space is limited for the form field. Since we allow scrolling in the overflow (there could be many more form elements) expanding the date picker shows the popup in this space when if it was attached to the body it could overlay correct on top

https://stackblitz.com/edit/github-sdivt5?file=src%2FApp.vue,index.html

Describe the bug

Any Date Element appearing the bottom of the screen, or near the bottom of its container will open within the container. This same behavior was seen with SelectElement before the "append-to-body" flag was added. As a popup control this should be handled in the same fashion.

image

Additional context

No response

Logs

No response

@jadrake75 jadrake75 changed the title DateElement no appendToBody DateElement has no appendToBody Apr 17, 2024
@jadrake75
Copy link
Author

I modified the example to show the differences with SelectElement and DateElement in this example

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

No branches or pull requests

2 participants