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

Workaround for grid features that directly modify the columnsList ContentChildren collection. #11306

Merged
merged 4 commits into from Apr 7, 2022

Conversation

MayaKirova
Copy link
Contributor

Note: This is a workaround. It would be best for grid features (like moving and state directive) to not modify collections that are bound to angular's templates as they are changed any time a structural directive like ngIf, ngFor etc. is resolved in any internal template. Hence depending on such a collection to retain state is not ideal.

Closes #11298

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

…rnal collections first to retain order. Also change column list differ to compare by field and not object ref.
skrustev
skrustev previously approved these changes Apr 1, 2022
@3phase 3phase added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Apr 5, 2022
@dkamburov dkamburov requested a review from skrustev April 6, 2022 07:09
@dkamburov dkamburov merged commit 53d750f into 12.3.x Apr 7, 2022
@dkamburov dkamburov deleted the mkirova/fix-11298-12.3.x branch April 7, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid: general version: 12.3.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants