Scaling embedded app with toolbar

LearnZillion shared this question 1 week ago

While using embedded Geogebra apps via the JavaScript api, I'd like to be able to scale the applet to fit a container (either bigger or smaller than the original app dimensions).

This typically works just fine by setting the appropriate scaleContainerClass.

However, for applets in which we have enabled the applet toolbar, the scaled app gets cropped in a way such that (it appears) its attempting the crop to the original aspect ratio of the applet without a toolbar. Is this expected behavior? Possibly something missing in our settings?

Comments (2)


Please can you send an example link to


Hi Michael,

I created a demo site to reproduce the issue for a specific item: https://clever-hoover-6de9b...

The source code for the demo is here:



© 2018 International GeoGebra Institute