danieldegroot2 created an issue (openstreetmap/openstreetmap-website#5838)
### URL
_No response_
### How to reproduce the issue?
Minor visual remark
It is possible to get the object highlight stuck when the object detail pane is
closed while it is still loading the relation highlight. (it is stuck only
temporarily until i.e. reloading the page)
Search a (large) relation (a country)
click on the result for the country
wait a moment for the detail pane to appear. (the object highlight is still
loading)
close the detail pane.
the object highlight and subsequently the browser tab header finish loading.
The object highlight and browser tab header are now stuck showing the highlight
and page name for the relation, while the user is no longer on the relation.
The URL also no longer includes the relation id.
Pressing the back button, the detail pane takes a moment to load, the highlight
then unloads for a moment before loading back in.
Pressing the forward button now, the page properly unloads the highlight and
updates the tab header as expected.
It seems when these steps are tried again on the same relation, this no longer
happens (the result is cached, at least for an amount of time).
I could reproduce this issue on at least one other relation, but not any more.
Chrome 134.0.6998.166 on Windows 10
### Screenshot(s) or anything else?

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5838
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev