hackmdio / hackmdio/hackmd-io-issues
"Keyboard Shortcut" menu gets open (and doesn't close) when typing a question mark in the slide text.
- 主要言語
- 言語のデータがありません
- スター
- 40
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Is this a hackmd.io issue?
- [X] Yes, the bug happens on https://hackmd.io
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
### What's the problem
During slide creation, shortcut menu gets opened, and doesn't get closed.
#### Current behaviour
Typing a slide text that contains a question mark the "Keyboard Shortcuts " menu permanently.

Provide steps to reproduce:
1. Start a hackmd document, with "slides" preview:
```
---
type: slide
---
```
2. Write a line with a question mark
```
Is this a slide?
```
3. Outcome: the "Keyboard Shortcuts" menu open, and hide the slide text.
#### Expected behaviour
The shortcut menu should disappear when moving to another slide, or typing more text
#### Environment
I use HackMD on:
**Desktop**
- OS: [macOS]
- Browser: [chrome]
- Browser Version: [71]
#### Workaround
Currently, the only way to close this dialog is to typing **another** question mark (and delete it) - but that is a bit counter-intuitive.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the issue on hackmd.io with a slide preview and the sample text containing a question mark. Trace the keyboard-shortcut menu behavior and verify that it closes when moving to another slide or continuing to type, without requiring a second question mark.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100