GeoGebra applet not allowing left-margin spacing in mobile view

Anand shared this question 3 years ago
Needs Answer

Hi,

I have a geogebra applet which i want to position such that there is a left margin of N pixels. The functionality works on Chrome but fails on Safari when viewing on mobile.


In the case of Safari, since the geogebra applet calculates and injects its own height and width parameter, it is taking values which are far smaller than the available render space.


I have attached a code sandbox example file using a applet which Michael had created for reference.


CODE : https://codesandbox.io/s/geogebra-scaling-7v7gv

APPLET : https://7v7gv.csb.app/


Issue can be reproduced by going into responsive view on chrome and safari and selecting iPhone SE as the device.

© 2023 International GeoGebra Institute