-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GWTP 1.5.x Tabs don't get selected #744
Comments
Thanks for noticing ! @jasonlemay or @LarryMatte could you take a look? |
Hi, we have the same problem with the new slots. I have also pinpointed the problem. See The And the main problem comes from the I would say that a current workaround would be to not migrate to the new slots for the tabs. And then once there is a new release migrate that to the new slots. Do you will fix this and release the next patch? |
@rdwallis Could you take a look? Thanks! |
@rdwallis ping |
Add an override for the new typed setInSlot (> GWTP 1.5.x) method and make sure to call setActivTab on the corresponding tab. The old untyped setInSlot will delegate to the new method. This should fix ArcBees#744
@olafleur: I created a pull request. |
Thanks a lot ! We will review it. |
Add an override for the new typed setInSlot (> GWTP 1.5.x) method and make sure to call setActivTab on the corresponding tab. The old untyped setInSlot will delegate to the new method. This should fix #744
Upgrading a 1.4 app to 1.5.x we have found this problem with the GWTP Tabs infrastructure. This happens only if you use the new slots (NestedSlot, PermanentSlot, etc.).
If you select a tab the "active" styles aren't added - seems like the addStyleName & removeStyleName calls in the BaseTab class simply do nothing. The inactive style isn't removed and the active style isn't added: only the inactive style remain in the tab.
This can be seen in the GWTP Tabs Sample with the browser inspector tools: if you click on any tab (be RoundTab, be SimpleTab) and inspect it's styles you'll see that all the tabs have the same style and background color. They only have the inactive CSS style (according to the tabs.gss file the selected tab should have #eaeaea as background color, but has #ccc)
The text was updated successfully, but these errors were encountered: