Closed xmatthewx closed 8 years ago
aside: If you make these improvement here, will you need to migrate them back to the core app? In London, let's revisit the architecture topic and think about db, react, node, etc.
Since the allhands app is hotlinking the schedule.js
on https://github.com/mozilla/schedule-app-core, for changes like this (changes we want to apply to all schedule apps) I will only have to update the schedule.js
on the core repo.
Gonna do that now since it's just dropping one additional line of code there!
@xmatthewx this change is live now. I tested it on my iPhone - autofocusing the search field causes the screen to zoom in to that field. Feel a little weird to see that instant zoom happen right after I switched to the Search Tab. Umm...
Zoom might feel a little weird. Is the input field not already full width? Are you on iOS?
Focus and opening keyboard is standard behavior after tapping search on Android. I like how our implementation feels on my device.
The font-size in the input field is crazy tiny. 🔬 🔍 👀
This is done. 😄
This is what iPhone 6 (Safari) is like after I tapped the Search Tab. Input field is full width it's just the instant zoom feels weird.
solution suggested by someone on the Internet: set input box font size to 16px
OMG 16px
IS THE TRICK! https://github.com/mozilla/schedule-app-core/commit/76049808b8c8d5873f59c960768ce6ab21a295c1
issue fixed! 😸
Not absolutely essential, but a real nice feature on mobile.