umap icon indicating copy to clipboard operation
umap copied to clipboard

Search term field doesn't capture focus after first search

Open sjakobi opened this issue 11 months ago • 1 comments

Describe the bug

In a custom map, when I use the search button in the sidebar, the search term field "captures the focus"(?) so I can start typing the search term directly. After closing the search field, this "focus capture" doesn't work again, so I have to click the search term field before I can start typing.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://umap.openstreetmap.de/de/map/test_77762
  2. Click on the search symbol in the sidebar on the left. You can now start typing directly to enter a search term.
  3. Close the search field.
  4. Click on the search symbol in the sidebar again.

To enter the search term, you now have to click on the search term field before being able to enter a search term. Instead you get a weird slow animation of the search field sliding out from the left.

Expected behavior The "focus capture" should work reliably and quickly on each search.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Chromium 131.0.6778.85 snap, Mozilla Firefox 133.0.3

sjakobi avatar Dec 21 '24 20:12 sjakobi

No issues while using IOS 18

ahspence53 avatar Dec 21 '24 20:12 ahspence53