Unable to Access Keypad

88 views
Skip to first unread message

Deepak Shukla

unread,
Jun 26, 2023, 9:36:18 AM6/26/23
to desmos-api-discuss
Hi all,

I am using the Desmos demo API("https://www.desmos.com/api/v1.8/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6") for the development of a graphing calculator in my project. 

But the keypad is inaccessible, and the rest of the functionalities are working properly.  When I click any buttons present on the keypad, the keypad gets close.  

But when I use the same API key in a simple HTML page, it is working properly, and I am able to access every functionality present in the graphing calculator, including keypad access.  

I wanted to know if I am doing something wrong in integration or if there is any restriction added by Desmos related to keypad accessibility.  

ja...@desmos.com

unread,
Jul 5, 2023, 1:41:13 PM7/5/23
to desmos-api-discuss
It is possible for other scripts (or CSS stylesheets) on a page to interfere with the calculator's operation.

The graphing calculator's keypad closes when the browser's focus moves outside of the expression list. The graphing calculator has logic to prevent pressing keypad keys from moving focus from the current expression. My best guess based on the symptoms you're describing is that another script on the page is causing focus to move when the calculator's keypad keys are pressed.

Deepak Shukla

unread,
Jul 10, 2023, 10:47:09 AM7/10/23
to desmos-api-discuss
Yes, You are right.
Problem was with CSS and I have fixed the issue. Now It is working fine.
Reply all
Reply to author
Forward
0 new messages