user
09/08/2021, 8:58 AMhelpful-boots-41914
09/08/2021, 11:35 AMScreen.instance.removeComponent(view); before any rendering happens, then none of those ghost-component interactions occur. Any ideas? Did I do something wrong?helpful-boots-41914
09/08/2021, 11:35 AMbright-gpu-74537
09/08/2021, 11:56 AMhelpful-boots-41914
09/08/2021, 12:00 PMhaxe
import haxe.ui.macros.ComponentMacros;
function main() {
var app = new haxe.ui.HaxeUIApp();
app.ready(()->{
var component = app.addComponent(ComponentMacros.buildComponentFromString("
<box width='100%' height='100%'>
<vbox style='padding: 5px;' verticalAlign='center' horizontalAlign='center'>
<button id='playbtn' text='Play!' style='font-size: 45px; border-radius:20px;' />
</vbox>
</box>"));
// Press any key to remove component from app view - notice it's still "functioning"
kha.input.Mouse.get(0).notify((_,_,_)-> app.removeComponent(component));
kha.System.notifyOnFrames(app.render);
});
}
For Kha, haxelib versionhelpful-boots-41914
09/08/2021, 12:02 PMhelpful-boots-41914
09/08/2021, 12:13 PMpowerful-morning-89
09/08/2021, 12:31 PMhelpful-boots-41914
09/08/2021, 12:31 PMpowerful-morning-89
09/08/2021, 12:32 PMbright-gpu-74537
09/08/2021, 12:40 PMbright-gpu-74537
09/08/2021, 12:40 PMhelpful-boots-41914
09/08/2021, 12:41 PMbright-gpu-74537
09/08/2021, 12:42 PMbrave-kangaroo-30399
09/08/2021, 4:55 PMbright-gpu-74537
09/08/2021, 5:19 PMpurple-businessperson-14467
09/08/2021, 5:31 PMbright-gpu-74537
09/08/2021, 5:32 PMpurple-businessperson-14467
09/08/2021, 5:33 PMbright-gpu-74537
09/08/2021, 5:33 PMbright-gpu-74537
09/08/2021, 5:35 PMbright-gpu-74537
09/08/2021, 5:35 PMbright-gpu-74537
09/08/2021, 5:36 PMpurple-businessperson-14467
09/08/2021, 5:36 PMbright-gpu-74537
09/08/2021, 5:36 PM<property name="haxe.ui.components.scroll.style" value="autoHideScrollbars" /> will apply a css selector .autoHideScrollbars to each haxe.ui.components.scrollbright-gpu-74537
09/08/2021, 5:37 PMcss
.autoHideScrollbars {
mode: mobile;
}
somewhere, then it would workbright-gpu-74537
09/08/2021, 5:37 PMhaxe.ui.containers.scrollview.stylebright-gpu-74537
09/08/2021, 5:38 PMpurple-businessperson-14467
09/08/2021, 5:38 PM