Pages

Wednesday, June 10, 2026

SLS Integrated App iframe height appears reduced, and launch/open button no longer launches EJS interactive correctly

 Issue Type: Bug / Regression

Priority: Medium-High
Component: SLS Integrated App / LTI / External Tool iframe rendering
Summary: SLS Integrated App iframe height appears reduced, and launch/open button no longer launches EJS interactive correctly

Description:
The EJS integrated app in SLS appears to have two regressions affecting the user experience.

Firstly, the iframe height for integrated apps appears to be smaller than before. The embedded EJS interactive is now clipped vertically, and users need to scroll within the embedded frame to view or interact with the simulation. This makes the simulation difficult to use, especially for interactive models that require students to see the full setup, controls, graphs, and analytics button together.

Secondly, the launch/open button for the integrated app no longer appears to launch the interactive correctly as it used to. When the launch/open button is used, it opens the Moodle LTI launch URL directly and shows the following Moodle error:

“Coding error detected, it must be fixed by a programmer: Error: launch requires id_token”

This suggests that the launch/open action may not be passing the required LTI launch context or id_token to Moodle.

Affected URLs / Examples:
Sandbox SLS example:
https://vle.sandbox.sls.moe.edu.sg/my-drive/module/view/eb6aaafa-4e1d-472d-802f-949beabb249b/section/28/activity/31375

Production MOE Library example:
https://vle.learning.moe.edu.sg/moe-library/module/view/0564e667-0c8d-498d-8daa-ed61fb4e5506/section/57236364/activity/36380354?version=0564e667-0c8d-498d-8daa-ed61fb4e5506

Moodle LTI launch URL shown after clicking launch/open:
https://iwant2study.org/moodle402/enrol/lti/launch.php?id=f4d45d7f-dfd6-4f13-93a9-75b1065fd6eb

Steps to Reproduce:

  1. Open the affected SLS module containing the EJS integrated app.
  2. Observe the embedded EJS interactive within the SLS module page.
  3. Note that the iframe height is smaller than expected, causing the simulation to be clipped and requiring internal scrolling.
  4. Click the launch/open button for the integrated app.
  5. Observe that the interactive does not launch properly. Instead, the Moodle page displays the error: “launch requires id_token”.

Expected Behaviour:
The integrated app iframe should provide sufficient height for the EJS interactive to be usable without unnecessary clipping. Students and teachers should be able to view the key parts of the simulation, controls, graphs, and analytics button comfortably.

The launch/open button should launch the EJS interactive correctly, as it did previously, with the required LTI launch information passed from SLS to Moodle.

Actual Behaviour:
The embedded iframe height is too small, causing the interactive to be vertically clipped.

The launch/open button opens the Moodle launch URL directly and results in the error: “launch requires id_token”, instead of launching the interactive successfully.

Impact:
This affects the usability of EJS integrated apps in SLS. Students may not be able to interact with the simulation smoothly, and teachers may face difficulty using the integrated app for lessons or assignments. The launch/open issue may also prevent users from accessing the interactive in the intended full view.

Requested Investigation / Fix:
Please investigate whether there has been a recent change to the iframe height handling for SLS integrated apps, and whether the previous iframe height or responsive behaviour can be restored.

Please also investigate the launch/open button behaviour to ensure that the required LTI launch context, including the id_token, is passed correctly when opening the EJS integrated app. If direct opening of the Moodle launch URL is not supported, the launch/open button behaviour may need to be adjusted so that users are not routed to an invalid launch page.

Attachments:
Screenshots showing:

  1. Reduced iframe height in sandbox SLS module.
  2. Reduced iframe height in production MOE Library module.
  3. Moodle error page showing “launch requires id_token” after using the launch/open button.







No comments:

Post a Comment