Needs review
Project:
Tabs (jQuery UI tabs)
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2009 at 13:16 UTC
Updated:
26 Nov 2012 at 20:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
samhassell commentedI'm also seeing this behavior, and its a bit disorientating.
Comment #2
crea commentedI think this is a bug and it's very annoying.
Comment #3
crea commentedI have found related discussion:
http://groups.google.com/group/jquery-en/browse_thread/thread/e9459e53cf...
Workaround posted there is maybe ugly, but it fixed this problem for me: set tab container height. In my theme this is like:
You need to play with height to find a number that suits your case.
Comment #4
dawehnerI don't think this is a generic solution. Perhaps there are some css gurus out there to fix the issue.
Comment #5
a_c_m commentedsubscribe.
My idea would be to set the height for the panel with a inline style, which is calculated by JS at render time.
Comment #6
smoothify commentedMoving this to tabs module, where I think the issue would be more easily solvable.
I noticed similar issues in the queues of both the CCK FieldGroup Tabs and Views Tabs:
#838598: Switching tabs causes page to scroll up and down.
#839756: don't momentarily reduce the height of a views tab group when a new tab is chosen.
I realise the following issue is related to vertical tabs in core which is entirely separate, however the patches on there may contain a hint on how to fix this behaviour in jquery ui tabs too.
#437546: Vertical Tabs: Reduce scrolling up and down
Comment #7
ceddo commentedI also have this issue, I'd really appreciate if someone could post a clean fix to this as my website needs to be finished asap! :(
Comment #8
mrfelton commentedsubscribing. Temp fix is to set absolute height (on min-height). Not really a good fix though.
Comment #9
jdwfly commentedMarked #839756: don't momentarily reduce the height of a views tab group when a new tab is chosen. as duplicate of this.
Comment #10
bryancasler commentedsubscribe
Comment #11
Apfel007 commentedsub
Comment #12
fourmi4x commentedsub
Comment #13
Ed77 commentedWhat I did (and worked fine)... I replaced the tabs.js from the tabs module, with one from the drupal 5 version of the module.
Note: In drupal 6 the tabs.js is in te Tabs module, in drupal 5 tabs.js is in jstools/tabs/tabs.js
Comment #14
zepner commentedsubscribing
Comment #15
evanbarter commentedRan in to this issue, attaching a patch with a solution based off this solution.