From 5ef2315688b128891b0bee644604bc108320a357 Mon Sep 17 00:00:00 2001 From: Ajinkya Pande Date: Fri, 25 Oct 2024 12:46:45 +0530 Subject: [PATCH] Issueid #0000 iframe height for fill in the blanks --- src/views/Practice/Practice.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Practice/Practice.jsx b/src/views/Practice/Practice.jsx index 4feabc65..5fd15360 100644 --- a/src/views/Practice/Practice.jsx +++ b/src/views/Practice/Practice.jsx @@ -719,7 +719,8 @@ const Practice = () => { (questions[currentQuestion]?.mechanics_data && questions[currentQuestion]?.mechanics_data[0]?.mechanics_id === "mechanic_2") || - "mechanic_1" + questions[currentQuestion]?.mechanics_data[0]?.mechanics_id === + "mechanic_1" ? 500 : stringLengths[0]; window.parent.postMessage({ type: "stringLengths", length }, "*");