Skip to content
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

Zoom to map popup remains active on non-map pages #8260

Closed
ianwallen opened this issue Jul 15, 2024 · 0 comments · Fixed by #8267
Closed

Zoom to map popup remains active on non-map pages #8260

ianwallen opened this issue Jul 15, 2024 · 0 comments · Fixed by #8267

Comments

@ianwallen
Copy link
Contributor

Describe the bug
Zoom to map popup remains active on non-map pages

To Reproduce
Steps to reproduce the behavior:

  1. Go to sample record "Hydrological Basins in Africa (Sample record, please remove!)"
  2. Click on 'add to map'
  3. The following will be displayed in top left of page.
    image
  4. Click on browser back button '....'
  5. See the popup is still displayed on the page. You can continue to search and the popup will not close.

Expected behavior
I expect that when the popup would only be visible so long as the map is being displayed. Once going to another page, the popup should closed automatically.

Desktop (please complete the following information):

  • Browser : Edge
  • GeoNetwork Version: 4.4.5.SNAPSHOt
  • Server Application: Jetty
josegar74 added a commit to GeoCat/core-geonetwork that referenced this issue Jul 19, 2024


Fixes also wrong values for add alert delay, provided in some pages in milliseconds, but the method expects seconds.
josegar74 added a commit to GeoCat/core-geonetwork that referenced this issue Jul 25, 2024
* Zoom to map popup remains active on non-map pages. Fixes geonetwork#8260

Fixes also wrong values for add alert delay, provided in some pages in milliseconds, but the method expects seconds.

* Zoom to map popup remains active on non-map pages - remove alerts only when switching from the map

* Increase timeout to hide layer added popup to 15 seconds
josegar74 added a commit that referenced this issue Jul 25, 2024
* Zoom to map popup remains active on non-map pages. Fixes #8260

Fixes also wrong values for add alert delay, provided in some pages in milliseconds, but the method expects seconds.

* Zoom to map popup remains active on non-map pages - remove alerts only when switching from the map

* Increase timeout to hide layer added popup to 15 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant