-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(sort): If there is no direction, setting active as empty #15169 #15176
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
Conversation
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.
Thanks for sending this PR @Suresh918.
Looks good to me, just a small nit. Can you change the jsDoc for active
so that it does not say it is just the most recently sorted sortable?
Also, I think we ought to initialize it as an empty string now, so there's no ambiguity between undefined
and ''
.
/** The id of the sorted MatSortable. */
@Input('matSortActive') active: string = '';
@andrewseguin Updated the JS doc. Can you please check. |
Cool thanks Feel free to chat over the PR, it's nice for us to keep things documented for future reference. Would be happy to hear your thoughts/doubts on this |
@andrewseguin When this pull request will be merged? |
Unfortunately it takes a good amount of time to get changes in due to the myriad of tests that need to pass internally. I'll move this up to P2 to help prioritize it. Do you mind rebasing so we'll be able to re-run tests when we're able |
…15169 sort: test case changes test cases for mat sort active state for empty sequence and other sequences lint errors fix JS doc changes for sort active field
@andrewseguin I created a new pull request for this with the same changes |
Closing as there is a newer version of this change. (#22029) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #15169