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

Android版Chromeでの記事編集時の日本語入力バグ #276

Open
catnose99 opened this issue Apr 6, 2021 · 3 comments
Open

Android版Chromeでの記事編集時の日本語入力バグ #276

catnose99 opened this issue Apr 6, 2021 · 3 comments

Comments

@catnose99
Copy link
Contributor

事象

  • Android版Chromeで記事を編集中に日本語を入力しようとすると、一文字目が最後に来るようカーソルが移動してしまう

発生した画面のスクリーンショット

@catnose99
Copy link
Contributor Author

catnose99 commented Apr 6, 2021

原因の調査

  • 記事の編集エディタで内部的に使用しているCodemirrorに問題がある模様
  • CodemirrorのDemoでも問題が再現することを確認済み

対応案

1. パッチを検討

関連しているかもしれないページ

2. 1が難しければモバイル表示ではエディタをtextareaに変更できないか検討する

@catnose99 catnose99 added this to 📝 Backlog in Zenn Roadmap Apr 6, 2021
@catnose99
Copy link
Contributor Author

対応案「1. パッチを検討」のために色々調べたが原因は不明

@catnose99 catnose99 moved this from 📝 Backlog to 🚀 Shipped in Zenn Roadmap May 10, 2021
@catnose99 catnose99 moved this from 🚀 Shipped to 🤔 Considering... in Zenn Roadmap May 10, 2021
@tantan-tanuki
Copy link

issueみてると
mobileとIMEのタグついてOpneされっぱなしのバグは今のソースベースでは対応厳しいから
CodeMirror 6に作り直してるって書いて終わってるように見えるのでパッチで簡単に治せるバグじゃない気が。。。

https://github.com/codemirror/CodeMirror/issues?q=is%3Aopen+label%3AIME+label%3Amobile

確かに私のスマホでも

https://codemirror.net

のデモいじるとTwitterの動画と同じバグ再現しますが6だと再現しないです

https://codemirror.net/6/

英語もJSも素人なんで難易度がよくわからないんですが

https://codemirror.net/6/docs/migration/

に5から6へのマイグレーション方法もあるので
簡単に検証できるようなら試してみてはどうでしょうか?

差分で修正箇所がわかりそうならパッチも作れるかも知れませんし

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Zenn Roadmap
  
🤔 Considering...
Development

No branches or pull requests

2 participants