-
Notifications
You must be signed in to change notification settings - Fork 40
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
dropDownをiOSでも表示させるように #4114
dropDownをiOSでも表示させるように #4114
Conversation
Preview (prod) → https://4114-prod.traq-preview.trapti.tech/ |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
僕のスマホ(Android)で表示されなくなってそうです:thinking:
調査はあとでします
理由として |
今見てみたら 解決法分からなければ
でよさそうです |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
僕の Android スマホ上で動作しました〜
確認済みなので ok です
fix: #2088
iOSでキーボードを開いた時、CSSの
top
の基準はキーボードの高さ分上にずれるのに対して、getBoundingClientRect
はディスプレイ上部で固定されていたため、表示位置がずれていた。window.visualViewport.offsetTop
を利用することでそこのずれを取得することができた