Declined
Last Updated: 01 Sep 2023 12:30 by ADMIN
Bruno
Created on: 16 Aug 2023 07:16
Category: ListView
Type: Bug Report
9
scrollBottom event not triggering for Kendo List View Angular

Here is a simple example:

HTML:

<kendo-listview
  [height]="400"
  [data]="notes$ | async"
  class="k-d-flex-overflow-auto"
  (scrollBottom)="loadMore()">
  <ng-template kendoListViewHeaderTemplate>
    <span title>Reminders</span>
  </ng-template>
  <ng-template kendoListViewItemTemplate let-dataItem="dataItem">
    <app-message-note [note]="dataItem"></app-message-note>
  </ng-template>
</kendo-listview>

TS: 

@Component({
  selector: 'app-message-list',
  templateUrl: `./message-list.component.html`,
  styles: [
    `
      .k-d-flex-overflow-auto {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: auto;
      }
    `,
  ],
})
export class MessageListComponent implements OnInit {
  notes$: Observable<NoteDto[]>;

  constructor(private replyService: ReplyNoteService) {}

  ngOnInit(): void {
    this.notes$ = this.replyService.getUserNotesList();
  }

  loadMore() {
    console.log('loading...');
  }
}

Without these styles scroll is not visible.

Current behavior: scroll to the bottom, nothing happens.

Expected behavior: scroll to the bottom "loading..." will be logged to the browser console.


3 comments
ADMIN
Yanmario
Posted on: 01 Sep 2023 12:30

Hi Bruno and Wilco,

I will mark this bug report as invalid until further information with example and steps for reproducing the bug is provided.

Regards,
Yanmario
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
ADMIN
Yanmario
Posted on: 22 Aug 2023 10:35

Hi Bruno and Wilco,

Based on the provided code snippet, I wasn't able to reproduce the issue in the following example:

https://stackblitz.com/edit/angular-t6u4hj?file=src%2Fapp%2Fapp.component.ts

I've removed any CSS that is used and the scrollBottom event fires as expected on my side. Could you update the example and provide steps to reproduce the issue on my side? Thank you in advance for your cooperation.

Please also make sure that the height of the ListView component is lower than the hight of it's content.

Regards,
Yanmario
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
WiVahr
Posted on: 21 Aug 2023 09:55
Same issue here.