-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
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.


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.


Expected behavior
passed options should override default values.
Metadata
Metadata
Assignees
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working