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

アカウント設定からアイコンのアップロードが使用できなくなっている #6076

Closed
tkmrgit opened this issue Feb 24, 2020 · 10 comments · Fixed by #6427
Assignees
Labels
🐛Bug Unexpected behavior packages/frontend Client side specific issue/PR

Comments

@tkmrgit
Copy link

tkmrgit commented Feb 24, 2020

💡 Summary

アカウント設定からアイコンの部分をクリックして新しいファイルをアップロードすることができない

📝 Steps to Reproduce

1.左上のアイコンをクリックしてアカウント設定を開く
2.アイコンの部分をクリックしてアップロードをクリック
3.画像を選択してもアップロードが行われていない

📌 Environment

Misskey 12.21.0

@tkmrgit tkmrgit added the ⚠️bug? This might be a bug label Feb 24, 2020
@syuilo syuilo added ❓needs more investigation A bug whose causes are unknown 🐛Bug Unexpected behavior and removed ⚠️bug? This might be a bug labels Feb 27, 2020
@syuilo
Copy link
Member

syuilo commented Feb 27, 2020

WindowsのChromeでは再現できなかった

@syuilo syuilo added the packages/frontend Client side specific issue/PR label Feb 27, 2020
@tkmrgit
Copy link
Author

tkmrgit commented Feb 29, 2020

追加 : 再現可能ブラウザ
Firefox 73.0 / 同Mobile
iOS 12.4.1 / 13.3.1 Safari

@syuilo
Copy link
Member

syuilo commented Mar 21, 2020

@syuilo
Copy link
Member

syuilo commented Mar 21, 2020

発生条件もよくわからない
iOSでも発生する時としない時がある

@u1-liquid
Copy link
Sponsor Contributor

Android 10
Chrome Dev 82.0.4085.12
Firefox Beta 68.7b1
両方で再現されなかった

@syuilo
Copy link
Member

syuilo commented Apr 19, 2020

うーーーーん
再現が難しい

@syuilo
Copy link
Member

syuilo commented May 16, 2020

原因はなんとなくわかっていて、おそらくDOMに即席でdocument.createElement('input');みたいにして作ったinputは、clickイベントを発火させられないみたいな制約がiOSにあるみたいな感じだと思う

@syuilo
Copy link
Member

syuilo commented May 16, 2020

そうだとして、じゃあどうやって解決する?というのが...

@syuilo
Copy link
Member

syuilo commented May 16, 2020

PCからファイルを選択する関数は、Misskeyの様々な個所から呼ばれる可能性があるので、あらかじめVue上にinput要素を作っておくとかはできない

@acid-chicken
Copy link
Member

acid-chicken commented May 16, 2020

input 要素のスタックみたいなところに二つストックしておいて、使われたらスタックに要素を一つ足してみたいなことをすれば回避できそう?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior packages/frontend Client side specific issue/PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants