╭ changed ────────╮ │src/main_wasm.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │163 } │ │164 if (ui.currentPageLink(root_ptr.getFocus(), focus_id, session.data)) return; │ │165 try setFocus(focus_id); │ │166 + // an in-page link selects within the page, and a list row's view may open │ │167 + // its detail on the press. other clickables only focus: a form control's │ │168 + // border reaches here too, and the press must not fire its form. │ │169 + const root_focus = root_ptr.getFocus(); │ │170 + if (ui.inPageLink(root_focus, focus_id, session.data) != null) { │ │171 + const rect = (root_focus.children.get(focus_id) orelse return).rect; │ │172 + try root_ptr.input(allocator, .{ .mouse = .{ .x = @intCast(rect.x), .y = @intCast(rect.y), .action = .{ .press = .left } } }, root_focus);│ │173 + } │ │174 } │ │175 │ │176 fn setFocus(focus_id: usize) !void { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯