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

Can't close an annotation if you open it and scroll down #79

Open
keithnewman14 opened this issue Aug 6, 2012 · 1 comment
Open

Can't close an annotation if you open it and scroll down #79

keithnewman14 opened this issue Aug 6, 2012 · 1 comment

Comments

@keithnewman14
Copy link
Member

If you click on an annotation to open it and then scroll away from the map view, the annotation stays on the page. The only way to remove it is to scroll back up to the map and click on an empty portion of the map or leave the page.

I assume this is because the annotations are generated relative to the mouse's location, so they aren't tied to the map itself?

Edit: Same applies for Control Points

@slhck
Copy link
Member

slhck commented Aug 6, 2012

This is caused by the fixed attribute of the tooltip. It basically stays fixed on the screen regardless of scrolling. That way, it's very easy to position – i.e. not relative to any other HTML elements.

From the top of my head, I don't know how to fix this though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants