Jump to content

Vertical Scrool does not appear on MainForm


rayhildebrant

Recommended Posts

On 12/7/2021 at 1:05 AM, rayhildebrant said:

I tested in LoginForm test project and found the same issue.

Hello,

Can you try this approach?

MainForm.ClientEvents.ExtEvents -> 

function window.boxready(sender, width, height, eOpts)
{
    document.getElementsByTagName('head')[0].childNodes.forEach(function(el){if (el.tagName=="STYLE" && el.innerHTML=="body {overflow-y: hidden !important;}") el.innerHTML=""});
    Ext.getBody().setStyle('overflow', 'auto');
}

 

Link to comment
Share on other sites

14 hours ago, Sherzod said:

Hello,

Can you try this approach?

MainForm.ClientEvents.ExtEvents -> 

function window.boxready(sender, width, height, eOpts)
{
    document.getElementsByTagName('head')[0].childNodes.forEach(function(el){if (el.tagName=="STYLE" && el.innerHTML=="body {overflow-y: hidden !important;}") el.innerHTML=""});
    Ext.getBody().setStyle('overflow', 'auto');
}

 

it worked fine!

Thank you soo much!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...