Skip to content

Calendar: panelStyle width and min width overridden when appendTo is used #16176

@Khalil-Khaled

Description

@Khalil-Khaled

Describe the bug

When the user is using appendTo property and using panelStyle property to set a custom width or min width, these styles will be overridden by primeng's alignOverlay method.

Environment

Windows 10

Reproducer

No response

Angular version

18.1.2

PrimeNG version

17.18.6

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.14.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    LTS-PORTABLEIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions