l-lin / angular-datatables

DataTables with Angular
https://l-lin.github.io/angular-datatables/
MIT License
1.57k stars 486 forks source link

Duplicated templateref when using pagination #1605

Closed JuanCRodriguez closed 2 years ago

JuanCRodriguez commented 2 years ago

:beetle: bug report

Whenever you press pagination's Next button and then go previous, template ref gets duplicated on every row

:microscope: Minimal Reproduction

StackBlitz/GitHub Link: http://l-lin.github.io/angular-datatables/#/advanced/using-template-ref

Step-by-step Instructions:

  1. Go to TemplateRef example on online documentation
  2. Press Next to go ahead on pagination
  3. Press Previous to go back

:8ball: Expected behavior

Table renders as it was previously

:camera: Screenshots

image

shanmukhateja commented 2 years ago

Hi,

This bug is confirmed. A fix will be released when done. You can follow changes in the issue's linked PR.