when i try to use the vlist like this
show the error
ERROR gpui_shell::engine::quickjs: error in virtual list item renderer: `on_item_click` cannot be registered from a virtual list's item renderer: the rows are rebuilt every frame, so a handler registered there would pile up for as long as the view stood. Use `on_item_click((key, cx) => ...)` on the list itself, and read the r
at <anonymous> (eval_script:36:15)
at <anonymous> (\\?\D:\Data\Code\gpui-component\examples\js_todolist\main.js?v=2:137:11)
at map (native)
at <anonymous> (\\?\D:\Data\Code\gpui-component\examples\js_todolist\main.js?v=2:134:54)
will there a example how to use the vlist in the shell ,or this is a bug?
when i try to use the vlist like this
show the error
will there a example how to use the vlist in the shell ,or this is a bug?