Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

do not force open popup to be always in view #4980

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

do not force open popup to be always in view #4980

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: richlv
[Submitted to the original trac issue database at 8.54am, Wednesday, 11th September 2013]

enable notes, open some popup. pan the map so that part of the popup is outside the map area - map is repositioned to have full popup in view. this is fairly inconvenient and should only be done when the popup is initially opened.

same goes for zooming.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 9.35am, Wednesday, 11th September 2013]

I don't think this is something we have any control over, short of turning off autopan altogether, which would mean that a note wouldn't scroll into view when it was opened.

I agree it's not very good, but I think it needs fixing upstream in leaflet.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 3.01pm, Saturday, 30th November 2013]

We are no longer using popups for notes, which should resolve this.

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

No branches or pull requests

1 participant