haxeui / haxeui-html5

The HTML5 backend of the HaxeUI framework -
http://haxeui.org
MIT License
28 stars 14 forks source link

something wrong with DropDown #18

Closed R3D9477 closed 7 years ago

R3D9477 commented 7 years ago

Expected Behavior

simple page with one DropDown. menu must be displayed after DropDown clicked

Current Behavior

menu was displayed out of page err1

Test app / minimal test case

sample

Your Environment

Linux Mint 18.1 x64 Haxe 3.4.0 haxeui-core from git haxeui-html5 from git Firefox 51.0.1

Thanks.

ianharrigan commented 7 years ago

Can we retest this? It works fine for me (your sample from your repo)

ianharrigan commented 7 years ago

image

ianharrigan commented 7 years ago

Ok, i think ive found it. I seems the following styles need to in the index.html:

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Arial';
    font-size: 13px;
    margin: 0;
    width: 100%;
    height: 100%;
}

Ill open a new issue about this, but can close if it works for you.

Cheers, Ian

R3D9477 commented 7 years ago

thanks for hint, it work!