primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Layout issue with inline p-calendar and button bar

Open darnmark64 opened this issue 6 years ago • 2 comments

I just upgraded our application to Angular 10 and PrimeNG 10 and noticed that there is a layout issue with an inline p-calendar with the button bar inside a Dynamic Dialog:

image

I've created a test app and attached it to this issue. TestApp.zip

Angular CLI: 10.1.0 Node: 12.18.2 OS: win32 x64

Angular: 10.1.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.1001.0 @angular-devkit/build-angular 0.1001.0 @angular-devkit/build-optimizer 0.1001.0 @angular-devkit/build-webpack 0.1001.0 @angular-devkit/core 10.1.0 @angular-devkit/schematics 10.1.0 @ngtools/webpack 10.1.0 @schematics/angular 10.1.0 @schematics/update 0.1001.0 rxjs 6.6.3 typescript 3.9.7 webpack 4.44.1 primeng 10.0.0 primeflex 2.0.0

darnmark64 avatar Sep 09 '20 12:09 darnmark64

I believe the fix for this issue is very simple: .p-datepicker-inline { display: inline-block; position: static; }

Change the display from 'inline-flex' to 'inline-block'. Any idea when this issue might be fixed?

darnmark64 avatar Oct 12 '20 17:10 darnmark64

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!

Best Regards,

mertsincan avatar Nov 09 '22 20:11 mertsincan