shopper-mapper-org/median

Results list on mobile showing 0 items

Closed this issue · 5 comments

Results list on mobile showing 0 items

Research

After some google-fu, this appears to be a feature (not a bug) for mobile browsers.

The OS/Browser determines the behaviour of <select> elements. In the case of our mobile browsers, we are given a single clickable input (ie '0 items') that opens the complete list of options.

Here's a stack-overflow answer on this topic: https://stackoverflow.com/questions/56344229/display-a-traditional-html-select-list-on-ios

Proposed Solution

If we cannot show the results list without clicking, change the Results list to a single clickable results input button.

Dropdown example

Screenshot 2023-02-21 at 9 25 41 PM

Current implementation involves making the select box into a dropdown for mobile-size screens, but we don't love that fix.

resolved with commit f9bc828