Skip to content

@revolist/svelte-datagrid cellTemplate Error #772

@Nyx2022

Description

@Nyx2022

Check if issue exists
Search the repo and ensure your issue doesn't already exist. If so, it may:

  • Have already been fixed in an unreleased version.
  • Have been closed without a solution. Please create a new issue instead of commenting on the old one.

Describe the issue
i'm using @revolist/svelte-datagrid 4.16.0 + sveltekit 5,when i set cellTemplate to a .svelte template , it will trigger a svelte error: TypeError: anchor.before is not a function
it may be the anchor is null when append template to list,can you fix it

To Reproduce
just set cellTemplate to a .svelte template

Metadata

Metadata

Assignees

No one assigned

    Labels

    lowMinor improvement/issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions