IconTabBar: problems hiding an IconTabFilter
OpenUI5 version: 1.18.9
Browser/version (+device/version): Chrome 33.0.1750.154 m
Any other tested browsers/devices(OK/FAIL): Chrome Mobile (Fail)
URL (minimal example if possible): http://jsbin.com/lexax/1/edit
User/password (if required and possible - do not post any confidential information here): ./.
Steps to reproduce the problem:
- run the above example and press "Hide"
What is the expected result? After pressing "Hide" the content of the first IconTabFilter should be hidden as well
What happens instead? The content of the first IconTabFilter stays visible
Hi, thanks for pointing this out. We already thought about the different possibilities to handle this situation and are discussing these. For better usability we would like to know what you as an user would expect? Kind Regards
I think, the user expects, that the next visible tab will be active and displayed.
An additional information: if you change the model in the above jsbin (visible : false ), UI5 already behaves correctly (only the second content is visible). So: dynamically setting the attribute (after the initial load of the view) and pre-setting (before the initial load) should behave the same. -> I'm not quite happy with the tag "enhancement"
Good point...
The issue is fixed and will be available within the next patch 1.18.11. We decided to switch to the first visible tab in case the selectedTab is set to visible(false). But only if the content was expanded. Thanks for reporting.
Great! LIKE +1 #danke