Skip to content

HtmlTextField can't works in modal window #184

Description

@Highmiao

I use HtmlTextField to input English or Chinese, which works normally under canvas. root, but when I use HtmlTextField in modal window, the text cannot be displayed normally. Is this related to the layer?
let winLayer = canvas.getLayer(zebkit.ui.WinLayerMix.id);

    let win = new zebkit.ui.Window(
        'hello world',
        new zebkit.ui.web.HtmlTextField('hello world')
    );
    win.setBounds(10, 10, 500, 300);
    win.setSizeable(false);
    win.setBorder(new zebkit.draw.Border('gray', 1, 1));

I did a simple test, like the one above, where the text was not displayed in the input field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions