Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コードブロックを含むページで、見出しにある編集ボタンを押して編集画面に行った場合に、正しい位置にスクロールしない #8487

Open
haoling opened this issue Feb 16, 2024 · 2 comments

Comments

@haoling
Copy link

haoling commented Feb 16, 2024

Environment

Host

item version
OS
GROWI 6.2.4
node.js 18.18.2
npm 9.8.1
yarn 1.22.19
Using Docker yes
Using [growi-docker-compose][growi-docker-compose] no

Client

item version
OS Mac OSX Ventura 13.6.3
browser GoogleChrome 121.0.6167.160 (arm)

How to reproduce? (再現手順)

  1. 見出しとコードブロックを含んだページを作る
# 見出し1
```
































```

# 見出し2
ここにスクロールしてほしい。
  1. 記事を保存して、Wikiのトップに戻る
  2. 更新履歴などから、1のページにアクセスする
  3. 見出し2のところにある編集ボタンをクリックする

What happens? (症状)

見出し2の部分まで、編集画面がスクロールせず、Markdownの先頭にカーソルが当たっている

What is the expected result? (期待される動作)

# 見出し2 の部分にカーソルが当たっていて欲しい。

Note

見出し2の位置にカーソルがあたるときもまれにあります。
その場合はリロードして編集ボタンをクリックすると症状が出ます。

@miya
Copy link
Member

miya commented Mar 29, 2024

ご報告ありがとうございます。おっしゃる通り見出し右横の鉛筆ボタンをクリックした時に、エディター画面の対象マークダウンの箇所まで自動スクロールしてカーソルまで当たってくれると嬉しいですね。こちらは開発チーム検討しようと思います。

@hiromu-ta
Copy link

対応ストーリー:https://redmine.weseek.co.jp/issues/144136

コードブロックの有無に関わらず再現

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants