Skip to content

fix rtl: flip rtl when the document dir #1046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

waelbettayeb
Copy link

@waelbettayeb waelbettayeb commented Feb 16, 2022

The bug

The icon isn't flipping when the document dir change.

Solution description

Observe the document dir via the MutationObserver API.

@waelbettayeb waelbettayeb changed the title fix rtl: observe document dir on change fix rtl: flip rtl when the document dir Feb 16, 2022
@averyjohnston
Copy link
Contributor

Thank you for the PR! This has since been fixed over at #1210, so I'll close this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants