-
-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
Version:
PHP 8.0
TRACY 2.8
Bug Description
When using \Tracy\Dumper::toHtml($array) in snippet you cannot open 2nd level in array. There is an error in console Uncaught TypeError: dest is null
Steps To Reproduce
- Latte code
<div n:snippet="show_data">
{if $show_data}
{\Tracy\Dumper::toHtml(['test' => ['x' => ['y' => ['z' => 'test']]]])|noescape}
{/if}
</div>
-
If you click on arrow to expand 'x' key, there is an error in console log
Uncaught TypeError: dest is nullat this code:

If the same code is used out of the snippet, it works:

If using much bigger array with more depth even first level cannot be opend. Same error.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels
