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

[Bug]: Textarea not autoresize #446

Open
3 tasks done
baccarg opened this issue Dec 21, 2023 · 4 comments
Open
3 tasks done

[Bug]: Textarea not autoresize #446

baccarg opened this issue Dec 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@baccarg
Copy link

baccarg commented Dec 21, 2023

Before submitting...

Context

Textarea input not resize when add a line break.

Current Behavior

No response

Expected behavior

No response

Possible Solutions or Causes

No response

Steps to reproduce

No response

Your Environment

  • Version used: 2.0.3 alpha
  • Browser Name and version: firefox / chrome
  • Operating System and version (desktop or mobile): Win11
  • Additional information you want to tell us:
@baccarg baccarg added the bug Something isn't working label Dec 21, 2023
@tkoschnick
Copy link

I was able to solve this by explicitly initialising each text area:

document.querySelectorAll('.materialize-textarea').forEach(function(element){
    M.Forms.InitTextarea(element);
});

@kenny-nt
Copy link

Current version 2.0.3: textarea still do not resize when enter a long text or enter line break...

@kenny-nt
Copy link

I was able to solve this by explicitly initialising each text area:

document.querySelectorAll('.materialize-textarea').forEach(function(element){
    M.Forms.InitTextarea(element);
});

Document do not mention about init textarea for autoresize when enter long text which must be default for textarea :|

@attid
Copy link

attid commented Mar 19, 2024

изображение
it also dont work at docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants