The map zooms to the active layer extent when the application opens, but it does not reliably zoom to the layer when that layer is deactivated and then activated again.
Steps to reproduce
Open the application.
Confirm that the map zooms to the active layer extent.
Deactivate/uncheck a layer.
Activate/check the same layer again.
Expected behavior
Reactivating a layer should zoom the map to that layer’s extent, consistent with the behavior during application startup.
Actual behavior
The layer is reactivated, but the map remains at its current extent/zoom instead of fitting to the reactivated layer.
## Description
The map zooms to the active layer extent when the application opens, but it does not reliably zoom to the layer when that layer is deactivated and then activated again.
## Steps to reproduce
1. Open the application.
2. Confirm that the map zooms to the active layer extent.
3. Deactivate/uncheck a layer.
4. Activate/check the same layer again.
## Expected behavior
Reactivating a layer should zoom the map to that layer’s extent, consistent with the behavior during application startup.
## Actual behavior
The layer is reactivated, but the map remains at its current extent/zoom instead of fitting to the reactivated layer.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
The map zooms to the active layer extent when the application opens, but it does not reliably zoom to the layer when that layer is deactivated and then activated again.
Steps to reproduce
Expected behavior
Reactivating a layer should zoom the map to that layer’s extent, consistent with the behavior during application startup.
Actual behavior
The layer is reactivated, but the map remains at its current extent/zoom instead of fitting to the reactivated layer.