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

Input component not work well with Grid component in some way #726

Closed
jellli opened this issue Feb 11, 2022 · 0 comments · Fixed by #727
Closed

Input component not work well with Grid component in some way #726

jellli opened this issue Feb 11, 2022 · 0 comments · Fixed by #727

Comments

@jellli
Copy link
Contributor

jellli commented Feb 11, 2022

Bug report 🐞

Version & Environment

  • Version of browser : Chrome/98.0.4758.82
  • Version of geist-ui/core: 2.3.0

Expected Behaviour

import { Button, Input, Grid } from "@geist-ui/core";

export default function App() {
  return (
    <div>
      <Grid.Container>
        <Grid xs={24}>
          <Input>用户名</Input>
        </Grid>
        <Grid xs={24}>
          <Input.Password>密码</Input.Password>
        </Grid>
        <Grid xs={24}>
          <Button>submit</Button>
        </Grid>
      </Grid.Container>
    </div>
  );
}

When I use Grid with Input in the way above, I expected it will look like this:
image

Actual results (or Errors)

but it actually looks like:
image

I know there is a better way to use Grid, but I still think the behavior above is a bug.

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

Successfully merging a pull request may close this issue.

1 participant