EasyUI Forum
September 14, 2025, 08:15:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Resize tabs on scrollbar appearance?  (Read 15396 times)
tslatt
Jr. Member
**
Posts: 85



View Profile
« on: December 02, 2011, 08:33:33 AM »

I trigger a resize of my tabs on "window.onresize", tab "onAdd", and tab "onSelect". This works well for all conditions but one: If my page content height is small enough that the browser's vertical scrollbar does not appear, and then content is added to the page dynamically, increasing the height and causing the browser's vertical scrollbar to appear, the tab does not resize. This means that the new scrollbar now overlaps the rightmost content in my tab. I have to select the tab or resize the window to get it to adjust.

Is there some way to capture the event of the scrollbar appearing and call a tab resize on that event?
Logged
tslatt
Jr. Member
**
Posts: 85



View Profile
« Reply #1 on: December 29, 2011, 02:03:43 PM »

Almost a month later and I'm still having this issue. Does anyone know how to trigger a resize on browser scrollbar appearance/disappearance?

Any help would be greatly appreciated.
Logged
mw515
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: October 21, 2015, 05:42:22 PM »

I also have this problem, please anyone help me Smiley
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #3 on: October 21, 2015, 07:04:37 PM »

please demo your issue in jsfiddle if possible
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
Max Lamda
Newbie
*
Posts: 48


View Profile
« Reply #4 on: November 04, 2015, 09:19:32 AM »

Why don't you just resize the Tab after you have added the new content?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!