hackmdio / hackmdio/hackmd-io-issues

Including drop down item causes editing side to autoscroll to bottom

Aperta
#178 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
40
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is this a hackmd.io issue?

- [x] Yes, the bug happens on https://hackmd.io

### What's the problem
I have a long note with a lengthy references section, and would like to make a hideaway menu for it, so that it doesn't have to be open and taking up lots of length when opening the page. It is on the bottom of the document, at the end. When including a dropdown item in the note, the left hand side (the editing mini-page) goes to this part of the script upon autosave/inactivity. It can be very difficult when you're trying to write, as the page constantly jumps to the bottom for no reason, away from the content you're trying to write.

Here is the dropdown item I use:
```markdown

References

- Here we have some things in a dropdown item that I would like to include (such as references that don't need to be open at the beginning)
- Another list item


```

#### Current behaviour
The editing side of the side-by-side preview and raw text page automatically jumps to the bottom of the raw text after the author has not been writing for a few seconds/after a few seconds of inactivity.

#### Expected behaviour
The editing side of the side-by-side page does not move or automatically scroll for any reason while trying to write.

#### Environment

I use HackMD on:

**Desktop**
- Ubuntu 18.04
- Chromium version 80.0.3987.163

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci il problema in HackMD usando il markdown fornito e una nota lunga, quindi attendi l'autosave o l'inattività nell'editor affiancato. Traccia il comportamento di scorrimento dell'editor relativo all'autosave; il lavoro è completato quando il riquadro di modifica rimane nella posizione corrente dell'autore invece di saltare in fondo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
markdown
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.