question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove [dir] selectors

See original GitHub issue

Hello everyone! Thank for your library, but i can’t it use for now 😟 For what purpose some styles transformed to selectors with leading [dir] or [dir=ltr]? Is it possible to leave original style with appended rtl rules?

Because there is some issues, for example, i’m using MUI with build-in jss styles and rtl. So, also I use some styles from Bootstrap and at my css there is structure like this: bootstrap.css

fieldset {
  border: 0
}

mui styles

.Mui-some-class-for-fieldset {
  border: 1
}

so by css rules - last with more weight. Class has more weight than tag selector. All is ok aaand after postcss-rtl I have:

[dir] fieldset {...} and .Mui-some-class-for-fieldset {}

So it breakes everything because now [dir] fieldset has more weight than mui selector. How a developer can predict all of this during develop?

I think it’s not good to reassign selector`s weights for default direction.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:30

github_iconTop GitHub Comments

2reactions
evilaliv3commented, May 13, 2020

I thinks so @dzearing and i may support with retesting;

I’m experienced with testing and packaging, in the meantime we could eventually fork the project while the patch gets officially loaded in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powershell - How to use "remove-item" with multiple selectors ...
For a single directory: remove-item C:\path\to\test-folder\* -include *.mp3, *.mpeg. or a useful method for when files span multiple ...
Read more >
Remove (rm) - E 115: Introduction to Computing Environments
To remove unwanted files and directories from your AFS space, which is limited, you can use the remove (rm) command. Removed files are...
Read more >
.remove() | jQuery API Documentation
A selector expression that filters the set of matched elements to be removed. Similar to .empty() , the .remove() method takes elements out...
Read more >
How to remove empty directory names such as '.' '..' returned ...
I am using "dir" function to read folder names from a particular directory. Sometimes the function returns some empty or hidden folder names ......
Read more >
rm(1): remove files/directories - Linux man page
This manual page documents the GNU version of rm. rm removes each specified file. By default, it does not remove directories.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found