openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

IconTabBar: problems hiding an IconTabFilter

Open se38 opened this issue 12 years ago • 6 comments

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:

  1. 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

se38 avatar Mar 21 '14 12:03 se38

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

blaesius avatar Mar 21 '14 13:03 blaesius

I think, the user expects, that the next visible tab will be active and displayed.

se38 avatar Mar 21 '14 13:03 se38

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"

se38 avatar Mar 24 '14 11:03 se38

Good point...

akudev avatar Mar 24 '14 11:03 akudev

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.

blaesius avatar Mar 25 '14 10:03 blaesius

Great! LIKE +1 #danke

se38 avatar Mar 25 '14 10:03 se38