Hi, I have a problem with a configuration of a Sidebar template in Instant apps.
I have a map created in map viewer and I configured a expression to show the pop up in this way. If you click the line anyway, the pop up calculates percentages and distances of risk.

When I create the sidebar instant app, the pop up doesn´t work correctly in the info widget, the calculations doesn´t work.

Can you help me, please?