Bug: misplaced Cursor in Edge
- Vorherrschende Sprache
- JavaScript
- Sterne
- 10.1k
- Forks
- 1.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi,
while using hackmd with Microsofts Edge Browser i noticed a that sometimes the cursor has a problem.
From what i can tell, it happens while handling with lists.
I copied a text from a word document to hackmd. I replaced the tab from MS word with the star. It works for a while but ocasionally the cursor is always one line higher then it is shown.
So lets say i click on line 50. The cursor is shown in line 50. If i insert a character it is inserted in line 49. sometimes the cursor is shown on top of a character. That is when the letters in the two lines are not aligned. That behaviour is shown in the attached picture.
After a reload of the page everything is back to normal.

Edit: hackmd is deployed using docker (hackmd:1.1.0-ce)
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem in Microsoft Edge mit einer Liste, die aus Word eingefügten Text enthält, ersetze anschließend die Tabs wie beschrieben und vergleiche die angezeigte Cursorposition mit der Stelle, an der eingefügte Zeichen erscheinen. Die Korrektur ist abgeschlossen, wenn Cursor und Einfügezeile ausgerichtet bleiben, ohne dass die Seite neu geladen werden muss.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100