misskey icon indicating copy to clipboard operation
misskey copied to clipboard

投稿フォームにURLを貼った際に表示される「引用として添付しますか?」ダイアログをESCキーで閉じると投稿フォームごと閉じられてしまう

Open Sayamame-beans opened this issue 1 year ago • 1 comments

💡 Summary

タイトル通りです。 以下で行ったような対処で同様に解決出来そうな気はします。

  • https://github.com/misskey-dev/misskey/pull/13858#discussion_r1687219901
  • https://github.com/Sayamame-beans/misskey/pull/1

🥰 Expected Behavior

ダイアログだけが閉じる

🤬 Actual Behavior

投稿フォームも閉じてしまう

📝 Steps to Reproduce

  1. 適当なノートのURLをコピーする
  2. 投稿フォームを開く
  3. ノートのURLをペーストする
  4. ダイアログをESCキーで閉じる

💻 Frontend Environment

* Model and OS of the device(s): Windows 10 Pro 22H2
* Browser: Google Chrome 127.0.6533.89
* Server URL: https://misskey.niri.la/
* Misskey: 2024.7.0-kinel.1

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • [ ] Yes, I will patch the bug myself and send a pull request

Sayamame-beans avatar Aug 10 '24 15:08 Sayamame-beans

related:

  • ~~#10866~~
  • #12661

Sayamame-beans avatar Oct 18 '24 08:10 Sayamame-beans