From 2cb1a1754b0f04c32b38adec1313a16f01396a7d Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 17 Oct 2020 07:22:51 +0200 Subject: [PATCH] [web-src] Add threshold to observe visibility Hopefully fixes the "show options button" in list views to always be correctly working after page load. --- web-src/src/templates/ContentWithHeading.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-src/src/templates/ContentWithHeading.vue b/web-src/src/templates/ContentWithHeading.vue index 9e5fdb5f..35090f45 100644 --- a/web-src/src/templates/ContentWithHeading.vue +++ b/web-src/src/templates/ContentWithHeading.vue @@ -49,7 +49,8 @@ export default { observer_options: { callback: this.visibilityChanged, intersection: { - rootMargin: '-100px' + rootMargin: '-100px', + threshold: 0.3 } } }