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

fix: datepicker touchui not displayed correctly #17689

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jjs98
Copy link
Contributor

@jjs98 jjs98 commented Feb 15, 2025

#17635

What was the issue?

The problem was that the position absolute was not correct. I fixed it by using the p-datepicker-touchui class and only adding it when its actually an touchui datepicker. Otherwise the position: absolute will be used.

Also I added the touchUI back to the showcase. I added a little extra info for usage inside of p-dialog. The [appendto]="'body'" is needed because the overlay-mask is added with zIndex=1103 on the root of body. If the datepicker is not on root of body as well it will be behind the overlay-mask.

Maybe some day I have the time to find a solution that this component is smart enough to know where it should append itself.

PS. I hope the formatting is okay. I ran 'pnpm format'

@jjs98 jjs98 changed the title fix: datepicker touchui not displayed correctly #17635 fix: datepicker touchui not displayed correctly Feb 15, 2025
Copy link

vercel bot commented Feb 15, 2025

Deployment failed with the following error:

Creating the Deployment Timed Out.

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

Successfully merging this pull request may close these issues.

1 participant