Open WildYellowfin opened 2 years ago
https://github.com/arnog/react-mathlive/blob/0d4370ab4bca42a1c164a18a67a5f3d4d1d6a825/src/utils.tsx#L68 Reading through the function mapping and can't wrap my head around some of the decisions made. It's more important that onChange behaves according to the mathlive docs than to follow React convention.
Also, why does onMoveOut map to on focus-out? Focus-out does not respond to arrow keys... There is no event I can use to detect arrow key actions, and I am trying to include mathlive elements within a rich text editor.
https://github.com/arnog/react-mathlive/blob/0d4370ab4bca42a1c164a18a67a5f3d4d1d6a825/src/utils.tsx#L68 Reading through the function mapping and can't wrap my head around some of the decisions made. It's more important that onChange behaves according to the mathlive docs than to follow React convention.
Also, why does onMoveOut map to on focus-out? Focus-out does not respond to arrow keys... There is no event I can use to detect arrow key actions, and I am trying to include mathlive elements within a rich text editor.