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

[v4] Textarea: doesn't restore size after revert changes #5871

Closed
afbora opened this issue Oct 24, 2023 · 1 comment
Closed

[v4] Textarea: doesn't restore size after revert changes #5871

afbora opened this issue Oct 24, 2023 · 1 comment
Assignees
Labels
type: regression 🚨 Is a regression between versions
Milestone

Comments

@afbora
Copy link
Member

afbora commented Oct 24, 2023

To reproduce

  1. Go to textarea field
  2. Enter long long text
  3. Revert page changes
  4. See issue that textarea size still long (should be restore initial size)

Your setup

Kirby Version
Beta.3 (v4/develop)

@afbora afbora added the type: regression 🚨 Is a regression between versions label Oct 24, 2023
@afbora afbora added this to the 4.0 milestone Oct 24, 2023
@distantnative
Copy link
Member

For this to be fixed, we need to add the .autosize() command back to the value watcher. To not have the event called twice, we should then remove the automatic set-up event listener from k-autosize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression 🚨 Is a regression between versions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants