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

The height of textarea cannot be adjusted according to the default value #4294

Open
gaohomway opened this issue Oct 27, 2024 · 0 comments
Open

Comments

@gaohomway
Copy link

"framework7": "^7.1.5",
"framework7-react": "^7.1.5",

I have set the default value for textarea, but the height of textarea has not been turned on and is still the default height. Is there any way to adjust the height according to the content?


<ListInput
        label="运动介绍"
        placeholder="运动介绍..."
        type="textarea"
        resizable
        defaultValue={introduce}
        inputStyle={{ minHeight: 512 }}
        onChange={(event) => setIntroduce(event.target.value)}
    />



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

No branches or pull requests

1 participant