FreemapSlovakia / freemap-v3-react

Freemap Slovakia web application (www.freemap.sk)
https://www.freemap.sk/
Apache License 2.0
35 stars 17 forks source link

Uploading photos - tags dropdown does not collapse #720

Closed alexanderzatko closed 1 year ago

alexanderzatko commented 1 year ago

When tagging photos while uploading, the drop-down offering tag candidates does not collapse after selecting a tag. This is inconvenient when a single selection is made.

I understand this is likely done intentionally, to allow selecting multiple tags in one go, but maybe a checkbox next to the tag entry field could be added, allowing user to switch into a multiple selection mode, when checked. The default should be likely the single selection mode (checkbox unchecked), as most photos are tagged with a single tag (I guess).

Screenshot 2023-05-12 at 08 29 21
zdila commented 1 year ago

Used component https://github.com/i-like-robots/react-tags has no such feature. Feel free to report it there.

alexanderzatko commented 1 year ago

The component you are referring to seems to collapse after selection. In fact, the page you are linking to has an example of selecting multiple countries, where the illustration image included suggests that the user is supposed to pick countries one-by-one, and not in a single action, the way it is implemented in freemap. It looks like either a different component was used in freemap, or the function of this component was modified, before inclusion. Ultimately I might not know what I am talking about, as I do not know react :-)

zdila commented 1 year ago

Actually we use newer version: https://github.com/i-like-robots/react-tag-autocomplete. I'll check the options there.

alexanderzatko commented 1 year ago

velka vdaka. Na mobiloch to dost otravovalo.

zdila commented 1 year ago

ale nasadim to neskor :-)

alexanderzatko commented 1 year ago

"nasadim" je klucove slovo a dakujem :-)

zdila commented 1 year ago

deployed