Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderMathInElement(): Illegal constructor #2001

Closed
UpygeoSiegel opened this issue Jun 1, 2023 · 1 comment
Closed

renderMathInElement(): Illegal constructor #2001

UpygeoSiegel opened this issue Jun 1, 2023 · 1 comment
Labels
duplicate A substantially similar issue has already been reported

Comments

@UpygeoSiegel
Copy link

Description

Users with Safari 15.xx get this error when renderMathInElement() is called in their browser

[Error] TypeError: Illegal constructor
(anonymous function) (mathlive.min.js:2145:278271)
wo (mathlive.min.js:2145:278271)
Mr (mathlive.min.js:2396:681843)
define
(anonymous function) (mathlive.min.js:2408:701503)
(anonymous function) (mathlive.min.js:2412:709793)
(anonymous function) (mathlive.min.js:2:269)
Global Code (mathlive.min.js:2:295)

[Error] renderMathInElement(): Illegal constructor
(anonymous function) (LogRocket.min.js:2:49190)
Ml (mathlive.min.js:2412:708175)
vm (mathlive.min.js:2412:709744)
create (math-live-quill.js:14)
create (quill.js:183:94)
(anonymous function) (quill.js:3407:87)
(anonymous function) (quill.js:7406)
(anonymous function) (quill.js:3404)
(anonymous function) (quill.js:7145)
insertAt (quill.js:4252:108)
(anonymous function) (quill.js:2484)
reduce
(anonymous function) (quill.js:399)
applyDelta (quill.js:2452)
(anonymous function) (quill.js:1459)
modify (quill.js:1610)
createQuestion (assignment-view.js:254)
(anonymous function) (assignment-view.js:155)
asyncFunctionResume
getQuestion (assignment-view.js:153)
(anonymous function) (assignment-view.js:72)
asyncFunctionResume
setUpQuestion (assignment-view.js:68)
setUpTimer (assignment-view.js:35)
Global Code (assignment-view.js:66)

Steps to Reproduce

You can reproduce this by using an iPad/iPhone simulator on xCode with IOS 15 and below. I've gone to the MathLive website and math text does not render on the site because of this same error.

@arnog
Copy link
Owner

arnog commented Jun 1, 2023

Safari 15 is not supported. And probably a dupe of #1989

@arnog arnog added the duplicate A substantially similar issue has already been reported label Jun 1, 2023
@arnog arnog closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate A substantially similar issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants