For <html dir="rtl"> some browsers (Safari, Edge, IE) will automatically move scrollbar to the left side which is the correct behavior:
Unfortunately, major browsers (Chrome and Firefox) are behaving in a different way, scrollbar will be still on the right side of the browser.
It is possible to detect programmatically (preferrably with vanilla JS) on which side is scrollbar?
from How to detect on which side of the browser is scrollbar - right or left (in case of RTL)?

No comments:
Post a Comment