-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot read property of null (reading 'getboundingclientrect') at ol-ext element.offsetrect #823
Comments
Do you have an online example? |
No, but the error appears when a Fixed Popup tries to render in an empty map. It tries to set the popup position when the map is re-rendered. |
I've added a test to prevent rendering when the map in not displayed. |
Siedlerchr
added a commit
to Siedlerchr/ol-ext
that referenced
this issue
Aug 20, 2022
* origin/master: [VER] [BUILD] [UPD] handle photos loading on legend items [BUILD] [UPD] collection [ADD] remove collection [BUILD] [BUG] clone FontSymbol [UPD] nominatim doc warning / Viglino#832 [BUG] resetTransform on shadow [ADD] MGRS graticule example Viglino#825 Add intervals and precision options [BUG] on tilematrix & legend [BUILD] [UPD] Viglino#823 [UPD] draw panel on title change Update README.md Update README.md Update README.md # Conflicts: # src/control/Graticule.js # src/control/LayerSwitcher.js # src/control/SearchNominatim.js # src/control/WMSCapabilities.js # src/control/WMTSCapabilities.js # src/legend/Legend.js # src/overlay/FixedPopup.js # src/style/FontSymbol.js # src/style/Photo.js # src/util/input/Collection.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Viglino
I have issue related to FixedPopup.
The error message I get at fixedPopup is, see error message below:
This is a bug when the map re-rendered on emptied, and it re due to the fact that there is a bug with fixed popup when the map is to be rendered or when the map is to switch between sound and dark theme when fixed popup is open.
Do you have any suggestion/ solution for this or way you can workaround this issue?
The text was updated successfully, but these errors were encountered: