-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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-inputNumber: CSS regression when upgrading to 16.4.1 #13788
Comments
@psarno I can not reproduce so can you check it. https://stackblitz.com/edit/z55cu4?file=src%2Fapp%2Fdemo%2Finput-number-reactive-forms-demo.html |
I can see your example perfectly @ashikjs |
@ashikjs @SoyDiego I have finally reproduced this with a minimal test case of:
You can see this here: https://stackblitz.com/edit/z55cu4-fjv5hg This may be the fact we are using PrimeFlex 2.0.0 and not 3.3.0 as you are? To reproduce this, I updated
This is enough to reproduce what we are seeing. Update: I ran the automatic conversion tool for PrimeFlex 2 -> 3 on our project and updated our reference to 3.3.0. Even with the PrimeFlex update, the project is still rendering incorrectly. Something else is going on. If I force the height to 19.6 just as an experiment, the height of the input element is correct now but the buttons are overlapping it: |
@ashikjs After check your slackbizz i see your code have a theme file which one calling cdn if we remove this one then it working fine. also you can check it, https://github.com/orgs/primefaces/discussions/130 |
@ashikjs That seems to have been the case. I was assuming the CDN theme matched with the PrimeNG release due to the version number but it seems that was not the case. I am bringing these in locally now (what is shipped with the package by PrimeNG). This has resolved any theming issues when moving from 16.3.1 to 16.4.1. Thanks! |
Describe the bug
When we implement a
<p-inputNumber>
component with[showButtons]="true"
, the buttons are too tall push into each other.It now renders like this:
With
[showButtons]="false"
it looks normal:No styles outside of the base PrimeNG CSS are being applied to this element. It renders incorrectly in all themes, implicating the base styling for this component with the buttons. It renders incorrectly on every screen in the system, which is going to cause us to have to rollback to 16.3.1, where it renders properly.
I can not create a repro as, even with the updated repro template, it does not load in StackBlitz:
Environment
Angular 16.2.2
Reproducer
No response
Angular version
16.2.2
PrimeNG version
16.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: