For the option reserveScrollBarGap a padding-right is set on document.body, which is not considering the flow/writing direction (css property direction)
Proposed
Instead of setting the padding-right the corresponding logical css-property is set on document.body: padding-inline-end
Current
For the option
reserveScrollBarGap
a padding-right is set ondocument.body
, which is not considering the flow/writing direction (css propertydirection
)Proposed
Instead of setting the
padding-right
the corresponding logical css-property is set ondocument.body
: padding-inline-end