Issue was stemming from call if map.once('idle', ... update state ...). When baseType = 'button', this isn't called until after the map is moved. This update is now called immediately for button baseTypes and still maintains the existing 'idle' callback for other baseTypes.
Issue was stemming from call if
map.once('idle', ... update state ...)
. When baseType = 'button', this isn't called until after the map is moved. This update is now called immediately for button baseTypes and still maintains the existing 'idle' callback for other baseTypes.