-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
p-checkbox causes layout issues when used inside an overflow: auto div #9725
Comments
YES! I've been looking into this for hours. This still happens with PrimeNG LTS 10.1.0, and it's a blocking issue. I can confirm #9726 fixes the problem. |
I've worked around this issue by setting the display property in the global styles.scss
|
The .p-hidden-accessible{ display: none; } hack introduces another issue: |
@PeterHewat Thanks for testing this. The other method I used was to set |
@KiranChinnam Thanks, |
|
If you have a PrimeNG PRO Support subscription please post your issue at;
https://pro.primefaces.org
where our team will respond within 4 business hours.
If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.
Current Queue Time for Review
Without PRO Support: ~8-12 weeks.
With PRO Support: 1 hour
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/primeng-checkbox-flex-issue
Current behavior
When the checkbox is used in a div with overflow:auto and requires scrolling in the div to make the checkbox visible, extra space is added at the bottom of the page. When the checkbox is clicked, the page jumps.
Expected behavior
No extra space, and page should not scroll on interaction with the checkbox.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Checkbox does not work if using overflow: auto to create scrollable panels.
Angular version: 11.x (latest)
PrimeNG version: 11.x
Browser: Chrome 87, Edge 87
The text was updated successfully, but these errors were encountered: