Comments (4)
Interesting, that didn't happen for me (or I didn't notice it). I would prefer to disable the autofocus instead, otherwise we get the same problem again once we have enough cities to require a search box.
from wo-ist-markt.github.io.
No wait. I checked it again. It does not happen on page load but when you click on the city option. There the auto focus happens.
from wo-ist-markt.github.io.
Ah, OK. Well that makes sense, I guess, because that's how dropdown controls with a search field work select2
) uses the same UI approach on all platforms. I first used chosen
which defaults to the built-in UI for mobile platforms and therefore would probably handle your problem better, but unfortunately chosen
had other issues that I couldn't get around.
I see 3 approaches:
- Keep the current state, because that's just how these controls work
- Disable the
select2
overlay control on mobile platforms, because the built-in UI is better - Use a dropdown-control library that doesn't have this problem (i.e. which uses approach 2)
I prefer approach 2 but that would require us to think about when and where we use the built-in UI (i.e. which devices, resolutions, etc.).
from wo-ist-markt.github.io.
I am now closing this issue due to inactivity over the last years. If anyone is interested in the topic we can re-open it at any time. Thank you.
from wo-ist-markt.github.io.
Related Issues (20)
- Use a stable sort for entries in cities.json for easier diffs HOT 2
- Support additional attribute to refer to corresponding OSM feature HOT 4
- Support multiple datasources HOT 8
- Geolocation feature does not refresh data HOT 4
- Display order of days depends on system date HOT 2
- Details URL for each market HOT 9
- Piwik / Matomo Tracking via traffic.okfn.de HOT 1
- Add Flea markets in Hamburg HOT 7
- Outdated data source URLs HOT 1
- replace moment.js HOT 7
- External dependencies HOT 18
- Load locations dynamically HOT 1
- Deployment / Travis CI / CryptographyDeprecationWarning HOT 1
- replace 'opening_hours' with 'simple-opening-hours' HOT 9
- Tooltips do not open on Safari HOT 1
- HTTP 303 status code for Basel HOT 4
- Validate warning: Gelsenkirchen HOT 1
- Leaflet map zooms when being dragged HOT 2
- Doppelte Datentöpfe HOT 6
- Default city is loaded when closing pop up with cross HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wo-ist-markt.github.io.