Skip to content

Conflict between picklist used inputicon-style and table loading mask #17263

@egorbwork

Description

@egorbwork

Describe the bug

When the primeng table datatable mask is used, its styles are overriden by the p-overlay-mask that is loaded from base styles later. An example: We are using the table and in a dynamic dialog or popover with ngTemplate we used the picklist with filterBy. After we open modal|popover, table mask changes from position absolute to position fixed and blocks entire screen on lazy loading.

before:
image
after:
image

Pull Request Link

#17261

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/github-7en3trgo?file=src%2Fapp%2Fapp.component.html

Environment

ubuntu 22, firefox,

Angular version

19

PrimeNG version

v19

Node version

No response

Browser(s)

firefox 133

Steps to reproduce the behavior

  1. Add a p-table on the page and set loading flag usage for it
  2. Add a popover(with ng-template) or dynamic dialog with picklist that have filterBy option enabled
  3. Open the dialog or popover with picklist and close it
  4. toggle loading status for the table.
    Result: The datatable-overlay is fixed instead of absolute.

Expected behavior

The datatable-overlay should remain fixed, after any base style components loading.

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions