[TIMOB-379] Search bar: only show cancel button when search input has the focus.
|Labels||feature, ios, iphone, searchbar|
Enhancement suggestion: Currently, when cancel is 'true', the cancel button is always displayed. It's disabled if the search input doesn't have the focus.
I believe that a different behavior would create a cleaner UI: Make the cancel button invisible instead of disabled when the search bar doesn't have the focus. On the iPhone platform, the disabled state is still somewhat 'active'-looking. The presence of the disabled button is also unnecessary clutter.
- James K 2011-04-15
This is very easy to implement - see the new
setShowCancelmethod in https://developer.appcelerator.com/question/9091/i-can-not-set-uisearchbarplaceholder"> this thread.
- Matthew Lieder 2011-04-15
This has my vote; I'm currently having to programmatically do it.
- Vikramjeet Singh 2011-07-26 Bug Scrub: Invalid. Test Case exists Tested On: TiMOB sdk version: 1.7.2 Studio version: 1.0.2 OS Version: Mac OSX Lion Device tested On - iPhone 4.2.9