-
Notifications
You must be signed in to change notification settings - Fork 15
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
AG-12655 Skip unordered category animations #2947
base: latest
Are you sure you want to change the base?
Conversation
|
||
let categoryAnimatable = true; | ||
for (const series of this.boundSeries) { | ||
if (!this.includeInvisibleDomains && !series.isEnabled()) continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: includeInvisibleDomains
is always true in category axes, so this always returns false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's to match the original logic - in case this value ever changes
|
||
if (normalizedNextIndex === -1) { | ||
// All subsequent values must be extending (i.e. appending to) the normalized domain | ||
normalizedIndex = Number.MAX_SAFE_INTEGER; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: use Infinity
to keep consistent with similar logic in our codebase
Can we extract this code into |
https://ag-grid.atlassian.net/browse/AG-12655