Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix scrollbar overflowing in data download

Mike McGannaf61cb9f96fc
diff --git a/web/js/data/ui.js b/web/js/data/ui.js
index bc1882f41..0c999ff9d 100644
--- a/web/js/data/ui.js
+++ b/web/js/data/ui.js
@@ -197,6 +197,9 @@ export function dataUi(models, ui, config) {
var childrenHeight = $('#wv-datacontent').outerHeight(true);
+ // https://github.com/utatti/perfect-scrollbar/tree/0.8.1#before-using-perfect-scrollbar
+ $('.wv-datalist').css('position', 'relative');
+
if ((innerMaxHeight <= childrenHeight)) {
$('.wv-datalist').css('height', innerMaxHeight).css('padding-right', '10px');
if (productsIsOverflow) {