sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 76 forks source link

Text fields do not accept keyboard input #12

Closed eheredia42 closed 6 years ago

eheredia42 commented 7 years ago

Hi,

I can not type anything into text fields, even though I can paste values into them.

My simple HTML:

<html>
    <form>
        Text: <input type="text">
    </form>
</html>

The main.rs:

#[macro_use]
extern crate sciter;

fn main() {
    let mut frame = sciter::Window::new();
    let html = include_bytes!("main.html");
    frame.load_html(html, None);
    frame.run_app(true);
}

The test environment:

pravic commented 7 years ago

Hello,

Thanks for your report. Need to check it.

pravic commented 7 years ago

By they way, how sciter-sdk/bin.osx/sciter.app works in your environment?

pravic commented 7 years ago

Well, I have reproduced it. My window acts like transparent and focus falls through it to the behind window. It seems, it related to #2.

I'll look what I can to do.

eheredia42 commented 7 years ago

Hi,

sciter-sdk/bin.osx/sciter.app runs fine!