Skip to content
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

[textfield] textarea handle not properly themed for dark theme on firefox #6783

Closed
rebootl opened this issue Jan 24, 2021 · 4 comments
Closed
Labels

Comments

@rebootl
Copy link

rebootl commented Jan 24, 2021

Bug report

On firefox the textarea handle is not properly themed when a dark background is used.

Maybe I'm missing a mixin or something?

Demo:

https://codepen.io/rebootl/pen/ZEpdpJx

Thx.

Screenshots

image

Your Environment:

Browser: firefox (latest)
OS: Arch Linux/Linux

@rebootl rebootl added the bug label Jan 24, 2021
@asyncLiz
Copy link
Contributor

Unfortunately on some older versions of Firefox and some Linux distributions, the resize handle still uses the previous non-transparent image instead of a transparent one, resulting in this effect. I'd recommend checking to see if there are any updates to Firefox or your OS to see if that resolves the issue.

Here is the original bug from Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=554810

On other Linux distributions, OS X, and Windows, the resize handle is transparent (similar to Chrome).

@rebootl
Copy link
Author

rebootl commented Jan 25, 2021

Thanks for your reply.

I just re-tested on Ubuntu 20.04 with firefox 84.0.2 (latest I think), as well as Arch Linux (rolling release) with firefox 84.0.2.

Sorry I was a bit lazy with the versions in my original report, mb.

image

When I add a plain <textarea> element with a backround color, it does not happen, as u can see in the screenshot. I added it in the codepen.

I'll try to debug it further, but I'm not sure if I can figure it out. Any ideas welcome.
Thx

@asyncLiz
Copy link
Contributor

The actual element in question is a container element with the resize CSS property set, not a <textarea>. You can reproduce the effect sans-textarea with the following markup:

<style>
  #resize {
    width: 250px;
    height: 56px;
    border: 1px solid black;
    background: darkgray;
    resize: both;
    overflow: hidden;
  }
</style>
<div id="resize"></div>

That should give you an indication if your Firefox/OS combination is still using the old non-transparent resize handle image.

@rebootl
Copy link
Author

rebootl commented Jan 25, 2021

Ohhh, omg, rip. Okay, thx, I'll try to report there then I guess.

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

No branches or pull requests

2 participants