Dropdown arrow is not stylable on high-res (without deep hacking)
@MawiraIke is already working on this.
Since May 18, 2021.
Assessment
This issue has not been assessed yet.
Description
Due to background-image being marked !important in the media section of re-com.css, all attempts to style this control via stylesheets with a custom image for the dropdown arrow are failing. I had to resort to the following 'deep hacking' in componentDidMount to achieve the styling.
(.setProperty (aget b "style") "background-image" "image.png" "important")
where b is defined as:
(.item (.getElementsByTagName (.getDOMNode this) "b") 0)
This poking into the implementation of the dropdown to pull out a b is obviously not ideal.
See Issue #99 for similar situation.
- Dominant language
- Clojure
- Stars
- 823
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from day8/re-com
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
bug
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
.Team/Metabot Priority:P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
needs triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100