tywalch / electrodb

A DynamoDB library to ease the use of modeling complex hierarchical relationships and implementing a Single Table Design while keeping your query code readable.
MIT License
1.03k stars 66 forks source link

ElectroDB playground: After Page Load, the caret in code-editor is not aligned with the letters sometimes #328

Closed SotunasIf closed 8 months ago

SotunasIf commented 1 year ago

Describe the bug I call https://electrodb.fun and set the caret on a letter on a line of code in the editor. (eg. "t" in "table" of "const table =" in Line 5) Sometimes, the caret is not on the letter I click, it has a positive offset to it, which grows by the colum of the line. In most cases, reloading the page fixes this.