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

Popup focus hides text in popup. #233

Open
naogify opened this issue Aug 24, 2021 · 4 comments
Open

Popup focus hides text in popup. #233

naogify opened this issue Aug 24, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request Priority: Low The issue has low priority

Comments

@naogify
Copy link
Member

naogify commented Aug 24, 2021

マーカーをクリック時に、ポップアップの「×」にフォーカスがあたり文字が読めなくなる。
options.focusAfterOpen = false で対処できる?
https://docs.mapbox.com/mapbox-gl-js/api/markers/#:~:text=options.focusAfterOpen

スクリーンショット 2021-08-24 9 13 12

@miya0001
Copy link
Member

Mapbox や MapLibre のデフォルトを変更してしまうと、互換性の問題やドキュメントの問題など、いろいろな問題を招くので、これに関してはユーザーさんに CSS で対応していただくだくなどがベターな気がします。

@naogify
Copy link
Member Author

naogify commented Sep 15, 2021

@miya0001

MapLibre に issue を立てました。反応を待ちつつ、また空いてる時間に PR を送ろうと思います…!

maplibre/maplibre-gl-js#338

@naogify naogify changed the title ポップアップにフォーカスがあたり文字が読めなくなる問題修正 Popup focus hides text in popup. Sep 16, 2021
@naogify
Copy link
Member Author

naogify commented Sep 16, 2021

@miya0001
MapLibre に PR を送りました。Issue の方でいくつかコメントをもらっているので解決しそうです。
maplibre/maplibre-gl-js#344

この問題は PR のマージと Geolonia の MapLibre 移行を待つとして、

Twitterで、フィードバックをもらった方には、「Geolonia で内部的に使っているライブラリのデフォルトの設定がこうなっていたので本家の方に PR を送りました。早急に対応が必要な場合は、CSS を使って対応お願いします」と返信しようと思います。

@naogify
Copy link
Member Author

naogify commented Sep 16, 2021

返信しました!

@kamataryo kamataryo added enhancement New feature or request Priority: Low The issue has low priority and removed Priority: Low labels Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: Low The issue has low priority
Projects
None yet
Development

No branches or pull requests

3 participants