Skip to content

Fit Parent Container Width #33

Description

@pviral

Hello Martin,

One of the use-case i was thinking of.. I have parent div of width:200px; and when I use autosize input ..it keep on growing beyond 200px. Any suggestions?
I was thinking of:

  1. Find the parent element where the input is attached and get the width
  2. pass maxWidth options to constructor

http://jsfiddle.net/mJMpw/1280/

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions