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

投稿のURLプレビューポップアップを改良 #6226

Merged
merged 3 commits into from Apr 13, 2020

Conversation

tamaina
Copy link
Member

@tamaina tamaina commented Apr 6, 2020

  • タッチデバイスでは表示しないように
  • 幅をレスポンシブに

タッチデバイスでスクロールが表示されてうざいのを修正。
結構大きいバグだと思うけど該当Issueを発見できなかった…

- タッチデバイスでは表示しないように
- 幅をレスポンシブに
@tamaina tamaina requested a review from syuilo April 6, 2020 14:13
@syuilo
Copy link
Member

syuilo commented Apr 11, 2020

('ontouchstart' in window) で良いのか気になっている

@tamaina
Copy link
Member Author

tamaina commented Apr 11, 2020

@acid-chicken
Copy link
Member

navigator.maxTouchPoints で取れると思う

@tamaina
Copy link
Member Author

tamaina commented Apr 11, 2020

navigator.maxTouchPoints > 0?

@acid-chicken
Copy link
Member

> 0 つけてもまあ意味的には変わらない(タッチポイントがないデバイスは 0 が返って falsy だし)

@tamaina
Copy link
Member Author

tamaina commented Apr 11, 2020

navigator.maxTouchPointsで判断するようにした

@syuilo syuilo merged commit 96eab7e into misskey-dev:develop Apr 13, 2020
@syuilo
Copy link
Member

syuilo commented Apr 13, 2020

👍👍👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants