From f9ee8952eaa441848fd78a49d076fb49108eb8e9 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 13 Oct 2022 14:23:11 -0600 Subject: [PATCH] Fix some display bugs in expose on chrome Sometimes the picture didn't get shown right away --- api/js/etemplate/Expose/ExposeMixin.ts | 2 +- api/templates/default/etemplate2.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Expose/ExposeMixin.ts b/api/js/etemplate/Expose/ExposeMixin.ts index 37653e81a1..91d92db61b 100644 --- a/api/js/etemplate/Expose/ExposeMixin.ts +++ b/api/js/etemplate/Expose/ExposeMixin.ts @@ -855,7 +855,7 @@ export function ExposeMixin>(superclass : B) { // Check to see if we're in a nextmatch, do magic let nm = this.find_nextmatch(this); - if(nm) + if(nm && !nm.update_in_progress) { // Check to see if we're near the end, or maybe some pagination // would be good. diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 789acde9ac..50fcf9624e 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -3496,6 +3496,9 @@ span.et2_egw_action_ddHelper_itemsCnt { /** * Etemplate exposé CSS */ +.blueimp-gallery > .slides > .slide-prev, .blueimp-gallery > .slides > .slide.active, .blueimp-gallery > .slides > .slide-next { + visibility: visible; +} /* Paginating with nextmatch */ .blueimp-gallery-controls > .indicator.paginating { border-bottom: 2px solid rgba(255, 255, 255, 0.5);