Skip to content

clicking on a marker whose popup is open make the popup close AND open at the same time (V1 beta2)Β #3992

Closed
@remilev

Description

http://jsfiddle.net/Pe5xU/261/

With the new leaflet v1 beta 2 :
1 - you click on the blue marker icon -> the popup open
2 - you REclick on the marker icon -> the popup close (fadeOut) AND re-open (fadIn)

With the older 0.7 version :
1 - you click on the blue marker icon -> the popup open
2 - the popup is just closing. It is more what we expect.

To have the same result in v1 than in v0.7, we must use map.options.closePopupOnClick : false.
But of course, with that, a click on the map does'nt close the open popup anymore...

How to retrieve the old behaviour of v0.7 with v1 ?

Activity

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions