]> source.dussan.org Git - vaadin-framework.git/commit
Fixing TabSheet scrolling within SplitPanel (#20052)
authoradam <adam@vaadin.com>
Mon, 18 Jul 2016 13:21:52 +0000 (16:21 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 3 Aug 2016 09:57:31 +0000 (09:57 +0000)
commit35078caabebfda612867c68b38f1d554dd3192a7
tree60940ee452272b9936ed3b843edefe1f9b30855e
parentc7ce7a129720490c31e466d62f725f9d866e0753
Fixing TabSheet scrolling within SplitPanel (#20052)

This patch fixes an issue with disappearing tabs in a TabSheet placed in a
SplitPanel.

Scrolling a tab into view needs to be done after layout has happened. Otherwise
the available width for TabSheet is unknown and causes unexpected behaviour.

Change-Id: Ibcea04ddadfafc5028efe44a6817517b16e21bde
client/src/main/java/com/vaadin/client/ui/VTabsheet.java
uitest/src/main/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoView.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/tabsheet/TabsheetScrollIntoViewTest.java [new file with mode: 0644]