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

モバイル端末で左下ボタン・画像がうまく機能しない #19

Open
sankichi92 opened this issue Dec 1, 2021 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@sankichi92
Copy link
Owner

sankichi92 commented Dec 1, 2021

  • Pixel 5a (Chrome): そもそも左下に何も表示されない
  • iPad Air 4 (Safari): 画像が見切れるうえ、ボタンを1回タップしただけなのに2回連続でタップしたような挙動になる

なぜそうなるかよくわからないし、デバッグが難しい……。

@smellman
Copy link

smellman commented Dec 2, 2021

  • leaflet-bottom leaflet-leftがcssで"bottom 10px;" なので表示がされない。bottom 100px;ぐらいにすると表示が可能となると思われる。
  • onTouchStartを実装してそちらの方はreturn falseを返すようにするとうまくいくかもしれない(ダブルタップを防ぐ)

@sankichi92
Copy link
Owner Author

コメントありがとうございます。調べてみます。

@sankichi92
Copy link
Owner Author

@sankichi92
Copy link
Owner Author

sankichi92 commented Dec 3, 2021

Leaflet/Leaflet#7255

Safari のダブルクリックは Leaflet のバグっぽい。

@sankichi92 sankichi92 added bug Something isn't working help wanted Extra attention is needed labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants