AUI-912 - Fix expanding the item in case of changed height