0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Qiita.com でAutoScroll (中ボタン) の引っ掛かりをなくす

0
Last updated at Posted at 2026-02-27

この記事はなに

マウスホイールを押しながらマウスを上下にすこし動かすことで発動する「ユニバーサルスクロール」や「AutoScroll」という機能がすこぶる便利なのである。

しかし、Qiita.com 閲覧中だとそれがスムーズに動作せず、べっとりと糊がついたような重たい動きになってしまい、ホイールを離したとたんにガタッと大きくスクロールするような動作になり、フラストレーションを抱えていた。

本腰を入れて調査してみたところ解決策を見つけたので、その記録を残す。

つまり

AutoScroll 2.0 と、コレ↓との相性が悪かった。

<style type="text/css">html { scroll-behavior: smooth; }</style>

そこで、こうやって消した:

document.querySelector("body > div.allWrapper > div.mainWrapper > style").innerHTML=""

[cfcb0f60]

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?