Skip to content

Adding multiple math-fields don't take away focus from old ones / impossible to enter code #2579

@kungfooman

Description

@kungfooman

All those fields are "blinking" and won't stop, no matter what I click.

Example code:

for (let i=0; i<10; i++) {
    const mf = document.createElement("math-field");
    mf.classList.add("mathfield");
    document.body.prepend(mf);
    mf.focus();
}

Just execute in DevTools on your website: https://cortexjs.io/mathlive/

Result:

image

I can't even write text in the other ones after clicking them.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions