Skip to content

enhancement: Touch support for Input component #1114

@pubnoconst

Description

@pubnoconst

Input block fails to retain/obtain the on-screen keyboard in touchmode. I am using the git snapshot for today. I am attaching a video to demonstrate how it behaves.

Steps to reproduce: Compile and run this:

use freya::prelude::*;

fn main() {
    launch(app);
}
fn app() -> Element {
    let mut value = use_signal(String::new);

    rsx!(
        label {
            "Value: {value}"
        }
        Input {
            value: value.read().clone(),
            onchange: move |e| {
                 value.set(e)
            }
        }
    )
}

Issue video

Metadata

Metadata

Assignees

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions