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

chore: FormControlのVRTにdangerouslyTitleHiddenの場合を追加する #5307

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

Conversation

AtsushiM
Copy link
Member

関連URL

概要

変更内容

確認方法

@AtsushiM AtsushiM requested a review from misako0927 January 21, 2025 01:18
@AtsushiM AtsushiM marked this pull request as ready for review January 21, 2025 01:18
@AtsushiM AtsushiM requested a review from a team as a code owner January 21, 2025 01:18
@AtsushiM AtsushiM requested review from Qs-F and removed request for a team January 21, 2025 01:18
Copy link

pkg-pr-new bot commented Jan 21, 2025

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5307

commit: 044f365

<FormControl
{...args}
key={dangerouslyTitleHidden.toString()}
dangerouslyTitleHidden={dangerouslyTitleHidden}
Copy link
Contributor

Choose a reason for hiding this comment

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

[imo]サブアクションエリアが表示されたままだと、今回の事象である「Fieldset に dangerouslyTitleHidden を設定している場合、title は消えるんだけどマージンは残って謎の余白が生まれる」がチェックできないかなと思うので、dangerouslyTitleHidden設定時にサブアクションエリアも消えるようにした方がいいかなと思いました!

と見比べながらチェックしていたのですが、dangerouslyTitleHiddenが指定されているときにサブアクションエリアが残るのは正しいですか・・・?(ローカルだとdangerouslyTitleHidden設定時にサブアクションエリアが消えているのですが、VRTでは残っているようで混乱しております。実装上は残らなさそうですが・・。)

Copy link
Member Author

Choose a reason for hiding this comment

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

🤔
一緒に消えるはずだけど...

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.

2 participants