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

DatePicker: Styles not working #17129

Closed
aaron-za-dev opened this issue Dec 19, 2024 · 2 comments
Closed

DatePicker: Styles not working #17129

aaron-za-dev opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@aaron-za-dev
Copy link

aaron-za-dev commented Dec 19, 2024

Component is displayed incorrectly after upgrading to version 19

Primeng v19

image

After update to Primeng v18.0.1

image

Primeng v18.0.0

image

Environment

Using:

  • @primeng/themes: 19.0.0 - 18.0.1
  • primeng: 19.0.0 - 18.0.1
  • tailwindcss": "^3.4.17

Reproducer

https://primeng.org/datepicker

Angular version

19.0.5, 18.0.1

PrimeNG version

19.0.0, 18.2.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.11.0

Browser(s)

Any

Steps to reproduce the behavior

  1. Go to https://primeng.org/datepicker
  2. Click on any datepicker

Expected behavior

The component should be displayed correctly

@aaron-za-dev aaron-za-dev added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 19, 2024
@imaksp
Copy link

imaksp commented Dec 19, 2024

This is looking bad, did you find any workaround for this?

@mligtenberg
Copy link

Adding the following CSS to your main styles.css (or scss, or sass) seems to fix it for me:

.p-datepicker .p-datepicker-panel:not(.p-datepicker-panel-inline) {
    position: absolute;
}

@mertsincan mertsincan 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 Dec 19, 2024
@mertsincan mertsincan added this to the 19.0.1 milestone Dec 19, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 19, 2024
mertsincan added a commit that referenced this issue Dec 19, 2024
@cetincakiroglu cetincakiroglu self-assigned this Dec 19, 2024
cetincakiroglu added a commit that referenced this issue Dec 19, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

No branches or pull requests

5 participants