You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the code of an html page to visualize the problem.
For me the mathlive version displayed in the console is 0.95.5
If you click on the keyboard button in the editor, an alert message appears (keyboard display status changed) and the virtual keyboard appears in a custom div as container : the geometry change event listener is launched.
If you click again on the keyboard button to hide the virtual keyboard, the virtual keyboard disappears but no alert message : the geometrychange event seems not to be fired.
The problem can bee seen on chrome, firefox or edge (windows 11).
<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8"><title>Title</title></head><body><p></p><pid="editor">
A = <MATH-FIELD></MATH-FIELD></p><divid="keyboardcontainer" style="position: absolute; left: 0px; top: 100px; width: 400px; height:300px"></div><scripttype="module">window.addEventListener('DOMContentLoaded',()=>import('//unpkg.com/mathlive?module').then((mathlive)=>{console.log(globalThis[Symbol.for('io.cortexjs.mathlive')].version);mathlive.renderMathInDocument()window.mathVirtualKeyboard.container=document.getElementById('keyboardcontainer')window.mathVirtualKeyboard.addEventListener('geometrychange',function(ev){alert('keyboard display status changed')})}))</script></body></html></html>
The text was updated successfully, but these errors were encountered:
Here is the code of an html page to visualize the problem.
For me the mathlive version displayed in the console is 0.95.5
If you click on the keyboard button in the editor, an alert message appears (keyboard display status changed) and the virtual keyboard appears in a custom div as container : the geometry change event listener is launched.
If you click again on the keyboard button to hide the virtual keyboard, the virtual keyboard disappears but no alert message : the geometrychange event seems not to be fired.
The problem can bee seen on chrome, firefox or edge (windows 11).
The text was updated successfully, but these errors were encountered: