You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ngui/popup, the original web page can still be scrollable.
Is it possible to add this code when popup opened: document.body.style.overflowY = 'hidden';
and add this code when popup closed: document.body.style.overflowY = null;
The text was updated successfully, but these errors were encountered:
ppc52776
changed the title
Hide scollbar when popup opened
Hide scrollbar when popup opened
Jul 6, 2017
When using ngui/popup, the original web page can still be scrollable.
Is it possible to add this code when popup opened:
document.body.style.overflowY = 'hidden';
and add this code when popup closed:
document.body.style.overflowY = null;
The text was updated successfully, but these errors were encountered: