diff --git a/website_animate/static/src/scss/o_animate_frontend.scss b/website_animate/static/src/scss/o_animate_frontend.scss index 34e9cbcef..3520ea222 100644 --- a/website_animate/static/src/scss/o_animate_frontend.scss +++ b/website_animate/static/src/scss/o_animate_frontend.scss @@ -20,6 +20,17 @@ } .o_wanim_overflow_x_hidden { overflow-x: hidden !important; + + &.o_rtl { + // Fix for Chrome and Edge bug: resolves slow/stuck scrolling during + // left-overflowing animations on RTL web pages. Note: using overflow on + // the main element hides animated elements outside of it (e.g. "Framed" + // page layout). This may not be the ideal solution but could be the + // best workaround for now. + > main { + overflow-x: hidden; + } + } } @-moz-keyframes o_animate_timeline_duration {