Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Transparency + Click-through clicks through floated elements #4846

@SomeoneIsWorking

Description

@SomeoneIsWorking

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 apparently
  • nw.js v0.14.3 x64
  • Windows 10 x64 Home, Build 10586

I 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:right

Clicking at where-they-would-be-without-float doesn't work either (if it's any relevant)

image

-- Extra info --

Ran with nw . --disable-gpu --force-cpu-draw

window

"frame": false,
"toolbar": false,
"transparent": true,
"resizable": false

body style

body {
    background-color:rgba(0,0,0,0);
}

Please tell me if I missed anything I'll update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions