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

Lock height of markdown field #1004

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fusawa-yugo
Copy link

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

The problem is that we can't see SAVE button and CLOSE button when we edit markdown of Note.

What does this implement/fix? Explain your changes.

The cause is textarea of markdown field expands infinitely (but I'm not sure why this happens).
So I set the height of the field using calc.

スクリーンショット 2024-12-25 16 31 55

Copy link
Collaborator

@porink0424 porink0424 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!
Locking the height is a reasonable temporary solution, but, based on my investigation, I found that removing the inputProps from the TextField resolves the issue (It seems the duplicate height specification might be causing the problem).

Since inputProps is already deprecated, could you consider whether it's safe to exclude it altogether?

@porink0424 porink0424 self-assigned this Dec 27, 2024
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.

3 participants