IconTabBar steals focus when being scrolled on mobile
OpenUI5 version: 1.60, 1.66
Problem: IconTabBar steals focus when being scrolled on mobile, which removes focus from an input (if there was any) and hides the android keyboard when viewed on mobile. A small example has been prepared (index.zip) and a video of how that looks like on a device (device-2019-06-17-091755.mp4.zip). Note that when the scrolling happens on any other part of the screen and the actual tab bar is not being touched - the focus stays as is and keyboard is showing.
Ideally scrolling that element should not remove focus from the input (so that the keyboard should still be showing).
The keyboard is hidden when you hold the bar of the IconTabBar. The case is that on that position, you can drag left/right to see the hidden tabs in the bar. I am testing with Android mobile device (Samsung).
Please retest by using other points for the scrolling and let me know if I am missing something
Yes, that's exactly what's happening - the keyboard gets hidden if your scrolling action starts on the IconTabBar, but it doesn't get hidden if you start scrolling on any other point.
Shouldn't this behavior be unified so that no matter the scrolling direction the focus stays where it was?
Let us check this with development #1970303269
Hello @GKSoftwareDevelopment,
Thank you for your ticket!
This is an expected result because when you tab over the header part of the iconTabBar, the focus goes there so a use can scroll to the available tabs.
In your video it is noticeable that when you "touch" over it the tabs are moving a little to the left and a little to the right and the keyboard is hiding because of changing of the focus from sap.m.Input to sap.m.IconTabHeader.
Best Regards, Gery