Closed asemoller closed 3 years ago
I know what caused this, but don't know how to fix it without introduce a new bug.
In featureinfo.js move theese 2 rows from row 296-297 to below 259
const popupHeight = document.querySelector('.o-popup').offsetHeight + 10;
popupEl.style.height = `${popupHeight}px`;
This fixes the animation, but introduces a bug when a carousel is present which can cause the size of the popup will be larger than it actual is and causes a area that can not be clicked above the popup.
What if you set it twice?
What if you set it twice?
It solves the problem with the area above popup isn't clickable. But since the height for the overlay is the same as before the animation scrolls down too much.
Describe the bug The animation for the info window "overlay" doesn't work if it's close to the top of the browser window. It's works fine when clicking on an object close to the left or right. It has worked in previous versions.
To Reproduce Steps to reproduce the behavior:
Expected behavior The info window should be adjusted so it can be readable.
Desktop (please complete the following information): Only tested on desktop/chrome.