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

Dropdown menu does not go away by clicking on the map #3464

Open
d-e-v-esh opened this issue Feb 21, 2022 · 3 comments
Open

Dropdown menu does not go away by clicking on the map #3464

d-e-v-esh opened this issue Feb 21, 2022 · 3 comments

Comments

@d-e-v-esh
Copy link

d-e-v-esh commented Feb 21, 2022

URL

https://www.openstreetmap.org/edit

How to reproduce the issue?

  1. Click on the edit dropdown menu
  2. Then click away on the map

The dropdown menu should disappear as we are now interacting with the map but it does not go away. We need to click on the dropdown button again to make it disappear. This bug is not available on the normal website.

Screenshot(s) or anything else?

2022-02-21.23-25-27.mp4

Which iD Editor versions do you see the issue on?

Released version at openstreetmap.org/edit

Which browsers are you seeing this problem on?

Chrome

@tomhughes
Copy link
Member

That's probably hard to fix because the "map" as you refer to it is actually the iD editor which is a separate project that we don't directly control.

The menu is also managed by bootstrap an not directly by us and bootstrap normally takes care of getting rid of it.

My guess is that iD is grabbing the events and stopping them bubbling up to the top which is why bootstrap isn't seeing them.

@mmd-osm
Copy link
Contributor

mmd-osm commented Feb 21, 2022

Oh well, I sent @d-e-v-esh to this repo, as I believe this needs to be handled by the website code. :)

@tomhughes
Copy link
Member

Well like I say I don't believe we actually do anything to implement those menus other than mark them up with the right classes - the implementation is all down to bootstrap. That strongly suggests that bootstrap is not seeing the normal events, either because the body of that page is a frame or because of something iD is doing.

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

No branches or pull requests

3 participants