openwisp / openwisp-network-topology

Network topology collector and visualizer. Collects network topology data from dynamic mesh routing protocols or other popular networking software like OpenVPN, allows to visualize the network graph, save daily snapshots that can be viewed in the future and more.
https://openwisp.io/docs/dev/network-topology/
BSD 3-Clause "New" or "Revised" License
170 stars 65 forks source link

[bug] Visualizer disappears on resizing window for published topology #193

Closed pandafy closed 1 year ago

pandafy commented 1 year ago

Steps to replicate

  1. Create a network topology
  2. Open http:127.0.0.1:8000/topology/ and click on the topology created in above step
  3. Resize the browser window

Expected Result The topology visualizer appears in the resized window

Actual Result The webpage becomes blank

https://github.com/openwisp/openwisp-network-topology/assets/32094433/bf88f1e6-31fd-4c5f-a806-7eaf43ee126c

pandafy commented 1 year ago

Remove this workaround after fixing this bug

https://github.com/openwisp/openwisp-network-topology/blob/8d22f53ea611fa3f50755693a41444f4daba61cf/openwisp_network_topology/tests/test_selenium.py#L38-L59