Strange behavior of Location button in Firefox when map drag occured
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 212
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Нашли следующую багу, которая воспроизводится на демо примере ( http://api.2gis.ru/doc/maps/ru/examples/controls/ ) с контролом определения местоположения на карте:
- Кликаем на значок определение местоположения
- Разрешаем в Firefox доступ к геолокации во всплывающем окне
- Видим что нас определило на карте
- Начинаем таскать карту
- На каждый 2-3 драг карты нас внезапно возвращает на исходную определенную точку
Правильное поведение - центрование карты происходит только в момент нажатия на кнопку определения локации, а не после каждой попытке таскания карты
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Firefox using the location-control demo at http://api.2gis.ru/doc/maps/ru/examples/controls/. Start by tracing the location control and its interaction with map dragging. Done means the map centers on the detected location only when the location button is pressed, and dragging no longer returns it to that point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100