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

Specifying number of lines in MemoEdit does not change height #3343

Closed
lariosm opened this issue Jan 21, 2022 · 1 comment
Closed

Specifying number of lines in MemoEdit does not change height #3343

lariosm opened this issue Jan 21, 2022 · 1 comment
Assignees
Labels
Type: Bug 🐞 Something isn't working

Comments

@lariosm
Copy link

lariosm commented Jan 21, 2022

As the title suggests, when I specify the number of lines in the MemoEdit component using the following code snippet, <MemoEdit Rows="5" />, it doesn't seem to increase the height of the component as expected. Oddly enough, if I comment out the following CSS reference in _Layout.cshtml, <link href="_content/Blazorise.Material/blazorise.material.css" rel="stylesheet" />, the height of the component increases as expected. That being said, I'm not sure if the Blazorise Material CSS is to blame.

In any case, I've put together a small throwaway project in my repository that demonstrates the issue I'm having, should you decide to look into this further. I've put the code snippet in Index.razor.

Summary

Issue
Specifying the number of lines in MemoEdit does not increase the height of the component as expected.

Expected behavior
Specifying the number of lines in MemoEdit increases the height of the component.

Actual behavior
Specifying the number of lines in MemoEdit does not change the height of the component.

To Reproduce
Steps to reproduce the behavior:

  1. Add <MemoEdit Rows="5" /> somewhere in a razor page. (Can be anywhere, really.)
  2. Build and run the project in IIS Express.
  3. Navigate to the razor page
  4. You'll notice the height of the MemoEdit component does not change from its original size.
@lariosm lariosm added the Type: Bug 🐞 Something isn't working label Jan 21, 2022
@stsrki
Copy link
Collaborator

stsrki commented Jan 21, 2022

It seems we have accidentally set height on the .form-control class, the same one that is used for all text input. It is a bug. Thanks for reporting it.

@stsrki stsrki self-assigned this Jan 21, 2022
@stsrki stsrki added this to the 0.9.5 Support milestone Jan 21, 2022
This was referenced Jan 21, 2022
@stsrki stsrki closed this as completed Jan 21, 2022
@stsrki stsrki added this to Support Aug 3, 2024
@stsrki stsrki moved this to ✔ Done in Support Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants