fix: scrollbars renders but disable (#6706)
This commit is contained in:
@ -41,10 +41,10 @@ export const getScrollBars = (
|
||||
const viewportHeightDiff = viewportHeight - viewportHeightWithZoom;
|
||||
|
||||
const safeArea = {
|
||||
top: parseInt(getGlobalCSSVariable("sat")),
|
||||
bottom: parseInt(getGlobalCSSVariable("sab")),
|
||||
left: parseInt(getGlobalCSSVariable("sal")),
|
||||
right: parseInt(getGlobalCSSVariable("sar")),
|
||||
top: parseInt(getGlobalCSSVariable("sat")) || 0,
|
||||
bottom: parseInt(getGlobalCSSVariable("sab")) || 0,
|
||||
left: parseInt(getGlobalCSSVariable("sal")) || 0,
|
||||
right: parseInt(getGlobalCSSVariable("sar")) || 0,
|
||||
};
|
||||
|
||||
const isRTL = getLanguage().rtl;
|
||||
|
Reference in New Issue
Block a user