Since the update to 0.99.0 you can not set the macros anymore before mounting. Since version 0.100.0 setting the macros after mounting causes the mathfield to be focussed.
There are mathfields above and below. The ones below do not set macros so are not focussed. We have the same issue in our codebase where the last mathfield is being focussed because we have to set macros after mounting since version 0.99.0.
Actual Behavior
The mathfield is being focussed.
Expected Behavior
The mathfield is not being focussed on.
Environment
Since version 0.100.0, no issue in 0.98.6 and 0.99.0.
So this is regression.
Operating System
Tested on MacOSx, but I expect it to happen on all Operating Systems.
Browser
Tested in Chrome, Firefox and Safari, all showing the issue.
Description
Since the update to 0.99.0 you can not set the macros anymore before mounting. Since version 0.100.0 setting the macros after mounting causes the mathfield to be focussed.
Steps to Reproduce
Open https://cortexjs.io/mathlive/guides/macros/ and see that the last mathfield where the macros are set is being focussed (the one with 3 minutes and 15 seconds).
There are mathfields above and below. The ones below do not set macros so are not focussed. We have the same issue in our codebase where the last mathfield is being focussed because we have to set macros after mounting since version 0.99.0.
Actual Behavior
The mathfield is being focussed.
Expected Behavior
The mathfield is not being focussed on.
Environment
Since version 0.100.0, no issue in 0.98.6 and 0.99.0.
So this is regression.
Operating System Tested on MacOSx, but I expect it to happen on all Operating Systems.
Browser Tested in Chrome, Firefox and Safari, all showing the issue.