-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Transparency + Click-through clicks through floated elements #4846
Comments
@jtg-gg could you please check this? |
@needo2 can you send me the sample app as zip file ? |
I put it on tinyupload because when I try to upload here, it rejects saying file type isn't supported even that it's a zip |
@needo2 I am still debugging, but I found a work around, if you specify the initial window (in package.json) big enough, then resize it down, it will works, but I know it is ugly |
@needo2 I've it fixed, waiting for @rogerwang to accept my pull request nwjs/chromium.src#18 |
This is fixed in git and will be available in the next nightly build. |
@jtg-gg @rogerwang i'm having a similar issue, and I think it's the same cause. @jtg-gg i tried your quick ugly fix, and did set both width's and height's initial values of the window to 10000 and after load set them to (calculated all screens size) (the dual monitors in my case), after that there was an improvement, it fixed the dragging on the laptop's screen (left) all the way to the right to far 1/4 left of the second screen, but after I pass that area with dragging the rectangle the window becomes "all click throughable". long comment, but I hope my description of the issue can help you diagnose the cause and fix it. |
@wesamco I've fixed the issue, can you try the latest nightly build ? |
@jtg-gg I installed the latest nightly build, and tried it, the issue wasn't fixed.
|
Update:
I got it working by setting initial width and height to big numbers. It didn't work because resizing done via
win.resizeTo(screen.availWidth, screen.availHeight);
wasn't affecting the clickable area apparentlyI can click on divs when they don't float but clicks go through them when they float
Style:
div.right {width: 200px; float: right;}
Same issue with
.parent {position:relative;}.child{position:absolute;right:0;}
instead of float:rightClicking at where-they-would-be-without-float doesn't work either (if it's any relevant)
-- Extra info --
Ran with
nw . --disable-gpu --force-cpu-draw
window
body style
Please tell me if I missed anything I'll update
The text was updated successfully, but these errors were encountered: