This is a migrated thread and some comments may be shown as answers.

scroll position reset

1 Answer 15 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Matt DiPietro
Top achievements
Rank 1
Matt DiPietro asked on 13 Oct 2014, 06:11 PM
I have a tab strip with scrolling enabled.  When I select a tab, a postback occurs, and then the tab strip always scrolls back to the top, leaving our users no way to know which tab they've selected unless they scroll back.  Has anyone else experienced this?  I've tried setting the ScrollPosition during the postback, but it had no effect.  I've tried this with PerTabScrolling set to both true and false.  Any ideas?

1 Answer, 1 is accepted

Sort by
0
Matt DiPietro
Top achievements
Rank 1
answered on 13 Oct 2014, 06:52 PM
Nevermind--I finally figured out my problem.  I was calling repaint() which was resetting the scroll position.
Tags
TabStrip
Asked by
Matt DiPietro
Top achievements
Rank 1
Answers by
Matt DiPietro
Top achievements
Rank 1
Share this question
or