1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 14:24:58 +02:00
Kissa Ruokanen 23bb992121 enhance(frontend): scroll position restoration in the drive page and "Files" tab on the user page (#17497)
* fix: ユーザーページのFilesタブでスクロール位置が正しく復元されない問題を修正

* fix: ドライブページでスクロール位置が保持されない問題を修正

* fix: 変更履歴の文言を調整

* fix: 同じファイルを複数ノートに添付した場合にスクロール位置が先頭要素へ戻る問題を修正

* fix: viewPosition の計算誤りと KeepAlive によるスクロール位置消失を修正

* fix: スクロール位置復元が下端要素の見切れを引き起こす問題を修正

* fix: スクロール位置復元がコンテナ高さ変化時にオーバーシュートする問題を修正

* Update CHANGELOG.md

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* fix: 最下部スクロール時にスクロール位置のキャプチャが失敗する問題を修正

min-height による空白領域にビューポート中央が入るケースで anchorId が更新
されず、復元が古い位置に飛んでしまう問題を修正した。
アンカー選択条件を「中央を跨ぐ要素のみ」から「上端が中央以下の最も下の要素」
に変更することで、空白領域スクロール時も最後のアイテムを正しくキャプチャできる。

* Update CHANGELOG.md

* fix: MkNoteMediaGrid のスクロールアンカーをノートIDとファイルIDの複合キーに変更

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor: anchorIndex による重複アンカー対応を削除

* refactor: unused になった onUnmounted の import を削除

* refactor: querySelectorAll/querySelector にジェネリクスを渡し型キャストを削除

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 09:07:17 +09:00
2026-05-12 17:36:49 +09:00
2022-06-09 00:50:23 +09:00
🎨
2025-05-07 10:44:43 +09:00
2026-05-12 17:36:49 +09:00
2025-09-27 20:53:21 +09:00
2025-10-19 11:34:34 +09:00
2026-01-05 20:56:52 +09:00
2025-07-16 15:49:05 +09:00
2026-01-05 20:56:52 +09:00
2025-12-06 17:39:17 +09:00
2023-02-26 14:17:29 +09:00
2026-05-15 10:12:17 +09:00
2019-04-05 18:17:30 +09:00
2026-01-07 21:43:31 +09:00
2025-11-11 09:30:13 +09:00
2025-02-01 13:57:39 +09:00

Misskey logo

🌎 Misskey is an open source, federated social media platform that's free forever! 🚀

Learn more


find an instance create an instance become a contributor join the community become a patron

Ask DeepWiki

Thanks

Sentry

Thanks to Sentry for providing the error tracking platform that helps us catch unexpected errors.

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.


Support us with a !

Star History Chart

Description
🌎 A completely free and open interplanetary microblogging platform 🚀
https://github.com/misskey-dev/misskey Readme AGPL-3.0 606 MiB
Languages
TypeScript 64.5%
Vue 29%
JavaScript 5.7%
GLSL 0.3%
SCSS 0.3%