diff --git a/src/ui/windows/explorer_tab.cpp b/src/ui/windows/explorer_tab.cpp index 9b67e92..b9508c2 100644 --- a/src/ui/windows/explorer_tab.cpp +++ b/src/ui/windows/explorer_tab.cpp @@ -1205,6 +1205,9 @@ static void renderBlockDetailModal(App* app) { float txContentW = ImGui::GetContentRegionAvail().x; ImGui::InvisibleButton("##txRow", ImVec2(txContentW, txRowH)); + // Rows outside the scroll clip keep their layout slot (the button above) but skip the hit-test results, + // drawing and truncateHashToFit below. The expanded row is always laid out so its detail panel appears. + if (!isExpanded && !ImGui::IsItemVisible()) { ImGui::PopID(); continue; } bool rowHovered = ImGui::IsItemHovered(); bool rowClicked = ImGui::IsItemClicked(0); bool rightClicked = ImGui::IsItemClicked(1); @@ -1313,11 +1316,6 @@ static void renderBlockDetailModal(App* app) { ImGui::PopID(); } - - if (s_detail_txids.size() > 100) { - snprintf(buf, sizeof(buf), TR("grpa_showing_first_100_of"), (int)s_detail_txids.size()); - ImGui::TextDisabled("%s", buf); - } } EndOverlayDialog();