fix: refit Mol map after responsive resize
This commit is contained in:
@@ -42,6 +42,8 @@ def test_map_rectangle_drag_is_wired_to_automatic_analysis() -> None:
|
||||
assert "onMapBboxSelectRef.current?.(bbox)" in geomap
|
||||
assert "new ResizeObserver" in geomap
|
||||
assert "resizeObserver.observe(containerRef.current)" in geomap
|
||||
assert "fitDataOnChangeRef.current" in geomap
|
||||
assert "map.fitBounds(bounds, { padding: 40, duration: 0 })" in geomap
|
||||
assert "resizeObserver.disconnect()" in geomap
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user