Skip to content

Autoresize causes input to jump around #261

@jtojnar

Description

@jtojnar

Current behaviour

When the placeholder does not fit on first line, it is placed on another one. But when one starts typing, the input will shrink, which might make it fit on the first line again.

Expected behaviour

The input should not shrink to be shorter than placeholder.

Steps to Reproduce

Steps to reproduce the problem:

  1. Add tags until placeholder would not fit.
  2. Type.

Example

Can reproduce it on the demo too.

Screenshots

tags-jumping.mp4

Your environment

  • OS: NixOS
  • Browser: Firefox 96.0.1, Chromium too.
  • Version of the component: 6.3.0
  • React version: 17.0.2

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions