gabesmed / ember-leaflet

Ember + Leaflet = Fun with maps
gabesmed.github.io/ember-leaflet
MIT License
164 stars 35 forks source link

Popup width is not updated automatically when content changes #142

Closed plcarmel closed 8 years ago

plcarmel commented 8 years ago

In my app, when the user clicks on a marker, a promise needs to be resolved before the popup content is rendered by Ember.

The problem is that the width seems to be computed only once (at the time the popup opens) and the popup ends-up being not wide enough for the content.

Any idea how to fix this ?

miguelcobain commented 8 years ago

@plcarmel are you using ember-leaflet 2.0 - www.ember-leaflet.com ?

plcarmel commented 8 years ago

Version 2.1.1

miguelcobain commented 8 years ago

@plcarmel Then this is the wrong repo. The repo is pre 2.0.

Could you open an issue there, please?

plcarmel commented 8 years ago

Ok, sorry about that.