Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when use TextInput inside Window #93

Open
panpetedextra opened this issue Sep 13, 2017 · 1 comment
Open

Issue when use TextInput inside Window #93

panpetedextra opened this issue Sep 13, 2017 · 1 comment
Labels

Comments

@panpetedextra
Copy link

Hi,

my render function look like this

  render() {
    return (
      <div>
        <Window
          color={this.props.color}
          theme={this.props.theme}
          chrome
          height="300px"
          padding="12px"
        >
          <TitleBar title="My Windows Application" controls/>
          <TextInput
            theme={this.props.theme}
            color={this.props.color}
            background
            label="My Input"
            placeholder="My Input"
            onChange={this.handleChange}
          />
        </Window>
        <TextInput
          theme={this.props.theme}
          color={this.props.color}
          background
          label="My Input"
          placeholder="My Input"
          onChange={this.handleChange}
        />
      </div>
    );
  }

When enter value to both TextInput and swap to another tap (in my case using Chrome just hit F12 for developer tools). The input under Window will change to blank while the input outside Window still has its value.

@gabrielbull
Copy link
Owner

Please submit a PR and we will accept it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants