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

Table: Cannot set autoSize from ScrollerOptions #16209

Closed
ymg2006 opened this issue Aug 10, 2024 · 1 comment · Fixed by #16210 · 4 remaining pull requests
Closed

Table: Cannot set autoSize from ScrollerOptions #16209

ymg2006 opened this issue Aug 10, 2024 · 1 comment · Fixed by #16210 · 4 remaining pull requests
Labels
LTS-FIXED-15.4.26 LTS-FIXED-16.9.15 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working v18-port
Milestone

Comments

@ymg2006
Copy link
Contributor

ymg2006 commented Aug 10, 2024

Describe the bug

Create a table with virtualScroll and pass
virtualScrollOptions: ScrollerOptions = {
autoSize: false
};
but after setting this from options, it will override the default value of table static true value passed to component.
Screenshot 2024-08-10 112539
Screenshot 2024-08-10 112609

Environment

Windows 11

Reproducer

No response

Angular version

17.3.4

PrimeNG version

17.8.8

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

v20.15.0

Browser(s)

No response

Steps to reproduce the behavior

Create a table with virtualScroll and pass
virtualScrollOptions: ScrollerOptions = {
autoSize: false
};
but after setting this from options, it will override the default value of table static true value passed to component.
Screenshot 2024-08-10 112539
Screenshot 2024-08-10 112609

Expected behavior

passed options should override default values.

@ymg2006 ymg2006 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 10, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working LTS-PORTABLE and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 15, 2024
@cetincakiroglu
Copy link
Contributor

Nice catch :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment