-
Notifications
You must be signed in to change notification settings - Fork 48
Question: Styling textarea scrollbar #60
Comments
Hmmm, I don't think that's actually possible right now, but I could add some custom mixins for this. Is it only those 3 pseudoselectors that you need? |
This sounds like a generic problem, the above pseudoselectors were just an example (see here). The only way I got this to work was to copy the
|
With a mixin, there would be a --paper-text-area-scrollbar: {
width: 6px!important; And internally, it would be used inside the ::-webkit-scrollbar {
@apply(--paper-text-area-scrollbar);
} |
Hi, we had same requirements and we added following css to style our scrollbar:
|
I would welcome mixins for scrollbar styles of iron-autogrow-textarea (1.x branch) as well. The selectors I use are:
|
I still cannot apply the Scroller CSS on iron-autogrow-textarea, any solution on this ?
|
After a few hours of trying multiple combinations, including using mixins (
--iron-autogrow-textarea
) I could not find a way to style the scrollbar of this element using webkit-scrollbar styles, such as:Is this possible?
Any help on this would be appreciated!
The text was updated successfully, but these errors were encountered: