Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dropdown (<select>) Menu on Phone

Featured Replies

I'm not 100% sure where to post this.

 

I'm not talking about a ul dropdown, but <select>:

 

wilsonweb_mobile_search_omnifile_search_

 

I have a dropdown for a selection of dates on an ecommerce website, the dates are written long hand, i.e.

 

Monday 1st March 2016 - Friday 5th March 2016

 

Which is one <option>.

 

As the options are long, they run off the edge of the screen when viewing on your phone, so you can't see the full date...

 

 

 

Has anyone had this issue before or has a solution? You would assume the text would wordwrap... but isn't this part of the UI design for Android / iOS etc ???

  • Author

You could swap the select to an input type="date" for compatible browsers on smaller devices. It's not perfect, but it works...

 

https://jsfiddle.net/andy9l/p9kmdoLp/

 

Unless you're talking about date ranges...

Not date ranges, literally just a couple of options as available dates.

 

I will try this method and let you know how I get on!

 

Thanks for all the ideas guys!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.