Skip to content

Dynamically grow/shrink dimensions of RIEInput during editing#65

Open
chuttam wants to merge 1 commit into
kaivi:masterfrom
chuttam:master
Open

Dynamically grow/shrink dimensions of RIEInput during editing#65
chuttam wants to merge 1 commit into
kaivi:masterfrom
chuttam:master

Conversation

@chuttam

@chuttam chuttam commented Oct 29, 2017

Copy link
Copy Markdown

Currently, RIEInput :

  • defaults its size to 20, which limits visibility of entered text that's longer.
  • only shows 20 characters when an RIEInput field is clicked on, to enter edit mode.

Old behavior

old

New behavior

new

  • Clicking to enter editable mode now opens <input> element with initial size adjusted to the existing text value.
  • Size of <input> element now grows/shrinks as you type (min width is still defaulted to 20)

Currently, RIEInput :

* defaults its <input> size to 20, which limits visibility of entered
text that's longer.
* only shows 20 characters when an RIEInput field is clicked on, to
enter edit mode.
@bartoszhernas

bartoszhernas commented Dec 29, 2017

Copy link
Copy Markdown

+1 can someone merge :)?

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 this pull request may close these issues.

2 participants