I register a mouse up event with an open layers map and the event gets fired when I do a mouse up, but the map keeps moving with the mouse. For some reason registering this event caused the map to keep panning after I do a mouse up.
Here is the function:
var refreshCities = function(evt) {
console.log("refreshing cities list");
};
Here is the event registration:
CitiesDisplay.events.register("mouseup", null, refreshCities);
After I saw this problem I tested the other types of events ("mousedown", "click", ...) but they don't have the same problem. I haven't found anything else online in solving this problem. Thank you for any help.