DoubleClick on Legend is zooming when on phone instead selecting trace

Hi,
after I generate any plotly graph and place it on a website (in my case using Pyscript) it acts differently when it happens on laptop screen and when using browser on smartphone (both phone/desktop version of the browser).
My problem is I cannot use double click on the legend to separate single trace/ switch back on all the traces, when displaying on phone. Instead it gives me zoom in/zoom out.
Double clicking on the graph area works as expected, it resets the axes as it should by default.
Placing the legend into the area of the graph did not help, it still behaves diffreently compared to pc screen
You can try for example this graph both on pc and phone:
https://htmlpreview.github.io/?https://github.com/JirkaZelenka/Czech-Fencing-Statistics/blob/main/vizualizace/V3_Medals-Year_M.html

maybe related to: Double click on legend is not working (2 traces pie chart)

Thanks for suggestions,
Jirka