It was essentially the same problem. However, the fix is only in the nightlies. You are free to use the nightlies, but it has some major breaking changes.
Edit: sorry, please ignore this… and don’t forget to include leaflet css!
I’ll leave this here, maybe can help. If not, feel free to delete.
===========================================================
Did something changed about modals in 1.0.0beta since 0.9.27?
In 0.9.27 leaflet maps in modals somewhat worked with this in a controller:
// open modal and fix map
$scope.showModal = function(id) {
$scope.modal.show();
leafletData.getMap().then(function(map) {
map.invalidateSize();
});
};
It looks like between the beta.1 release and the nightly build today there is an issue again with the controls on leaflet maps. Seems to work fine in Chrome, but on the emulator/device the controls no longer work. Dragging is fine, clicking is broken