Jemt / Fit.UI

Fit.UI is a JavaScript based UI framework built on Object Oriented principles
http://fitui.org
GNU Lesser General Public License v3.0
19 stars 7 forks source link

iOS < 10: Impossible to select specific items in DropDown when input has focus #88

Open FlowIT-JIT opened 4 years ago

FlowIT-JIT commented 4 years ago

Selecting items in a DropDown control is nearly impossible on IOS 9 and older if the control was initially given focus (input area clicked rather than just opened using arrow icon).

See short video gif demonstrating the problem. The pointer simulating a finger is slightly off but that's not the problem. The blue animation revealing clicks are accurate. Notice how the nodes I click are not the nodes receiving the click event.

ios

Obviously the wrong element receiving the click event is related to the keyboard sliding up, but there also seems to be a problem with focus not being properly preserved which is the reason the keyboard keeps sliding up and down. Apple has fixed the problems with iOS 10+.

Jemt commented 4 years ago

Tested today with iOS 9.3.5 on an iPad Mini 1, and the keyboard does not re-emerge when selecting items. It hides and stays hidden. I wonder if the demonstration given in the issue description is caused by being run in an emulator or whether it requires and older revision of iOS 9, or a small screen like the iPhone SE. In any case, the control is still fairly complex for a mobile device. We should consider an optimized experience. I change this issue from Bug to Minor Bug though.