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

Component: Table cell-edit with p-calendar #14774

Closed
erber014 opened this issue Feb 9, 2024 · 4 comments
Closed

Component: Table cell-edit with p-calendar #14774

erber014 opened this issue Feb 9, 2024 · 4 comments
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@erber014
Copy link

erber014 commented Feb 9, 2024

Describe the bug

When using p-calendar in a p-table with cell-edit the calendar pop-up does not open up correctly.
image
As can be seen in the above screenshot, the pop-up opens "inside" the table with scrollbars horizontally and vertically which partially obscures/hides the pop-up depending on how much initial space the table is taking up.

Environment

PrimeNG 17.6.0, modified stackblitz of Table-components cell-edit demo.

Reproducer

(https://stackblitz.com/edit/r8c8lb?file=package.json)

Angular version

17.05

PrimeNG version

17.6.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.18.0

Browser(s)

No response

Steps to reproduce the behavior

Click on a cell in the column farthest to the right (calendar). The pop-up where you can select a date opens "inside" the table, causing scrollbars to appear and hiding part of the pop-up.

Expected behavior

When clicking on a p-calendar inside a cell-editable p-table the pop-up should open "over" the table so it is fully visible/usable.

@erber014 erber014 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 9, 2024
@erber014
Copy link
Author

Can just mention that I have the same problem with dropdowns (haven't tried multiselects but this might not work well either).

@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 16, 2024
@ordorub
Copy link

ordorub commented Mar 19, 2024

You should add appendTo="body" to your calendar
1

Copy link

This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response label Jul 20, 2024
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants