mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
cbde45311a
We were looking at the selection properties after we had mutated the DOM, and trying to manipulate them based on some numbers cached from before mutating the DOM, which could result in trying to set a negative index for the selection offset. Instead, calculate all our values before we do any mutations. Fixes #430 |
||
---|---|---|
.. | ||
Backspace.ts | ||
Delete.ts | ||
Enter.ts | ||
KeyHandlers.ts | ||
KeyHelpers.ts | ||
Space.ts | ||
Tab.ts |