Closed rivartnik closed 3 years ago
After much debugging, I found a problem.
The issue was that I needed to add min-height to my popup since the min-height property does not exist on leaflet popup. Will leave the post in case someone found it useful.
I am creating dynamic popups based on the response from DB, and I implemented a leaflet-responsive-popup which works fine when opening on edges (left, right, top), however, it does not function correctly on the bottom edge, and if for example opening on the middle of the screen. Here is image of bottom: https://postimg.cc/75xzR4RN
If I open in the middle the popup is opened but OVER the icon not on top. Sorry for the black dots on the image but I need to hide that data. LINK: https://postimg.cc/zySjLpsx
However, if I now leave the popup open and scroll then the popup gets positioned correctly?
https://postimg.cc/Z9s63QVx
Any idea why would be much appreciated?