Click code doesn't run properly first time it's clicked


Anyone has any idea why the first time i click a link, only part of this code is run, but the second time, it runs properly

export function sentLink_click(event) {

The first time the repeater (Repeater1) does not hide
any other time, except for the first, it hides properly

Please share your editor’s URL so we can inspect.

It is not published yet - can I share it privately?

Maybe the repeater isn’t ready when you first click it, use the onItemReady function to make sure it’s ready.
If the issue remains please send a video of the scenario.

@anatarad Only authorised wix workers can use the link to view your editor