You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing VirtualScroll with the recently modified example doesn't work. Seems some code is missing in the example, at least I can't make it work. This is what the compiler returns when running the example:
[ ERROR ] TypeScript: src/components/app-home/app-home.tsx:16:4
Type '(el: HTMLElement, cell: Cell) => void' is not assignable to type'ItemRenderFn'. Type 'void' is not
assignable to type'HTMLElement'.
L15: virtual.items = items;
L16: virtual.nodeRender = (el, cell) => {
L17: if (cell.type === 0) {
Related Code
VirtualScroll works with the following changes:
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Describe the Bug
Testing VirtualScroll with the recently modified example doesn't work. Seems some code is missing in the example, at least I can't make it work. This is what the compiler returns when running the example:
Related Code
VirtualScroll works with the following changes:
Am I missing something, perhaps related to the use of the new
<template/>
element ?BTW, that'd be nice to have some doc about that new
<template/>
.The text was updated successfully, but these errors were encountered: