Skip to content

fix(risks): widen toolbar select triggers to prevent dropdown overlap - #1992

Merged
PraveenKum11 merged 3 commits into
version-16-hotfixfrom
fix/issue-1968
Aug 7, 2026
Merged

fix(risks): widen toolbar select triggers to prevent dropdown overlap#1992
PraveenKum11 merged 3 commits into
version-16-hotfixfrom
fix/issue-1968

Conversation

@PraveenKum11

@PraveenKum11 PraveenKum11 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Description

The Owner/Status/Risk level selects in the Risks tab toolbar used w-fit, sizing the trigger to its placeholder text while the dropdown grew to fit its widest option - so the Owner dropdown (e.g. "All owners") visually overlapped the adjacent Status select.

Sets fixed trigger widths and opts each select into the new matchTriggerWidth prop (added in the frappe-ui-react bump) so every dropdown is capped to its own trigger's width instead of expanding past it.

Screenshot/Screencast

image image image

Checklist

  • I have carefully reviewed the code before submitting it for review.
  • This code is adequately covered by unit tests to validate its functionality.
  • I have conducted thorough testing to ensure it functions as intended.
  • A member of the QA team has reviewed and tested this PR (To be checked by QA or code reviewer)

Fixes #1968

Copilot AI balanced review requested due to automatic review settings August 6, 2026 14:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Adjusts the Risks tab toolbar select trigger widths so opening a dropdown (notably “Owner”) doesn’t visually overlap adjacent selects.

Changes:

  • Replaced w-fit on the Owner/Status/Risk level select triggers with fixed Tailwind widths (w-36 / w-30).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@b1ink0 b1ink0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Update submodule after PR rtCamp/frappe-ui-react#325 is merged and request a re-review.

@PraveenKum11
PraveenKum11 requested a review from b1ink0 August 7, 2026 05:07
@PraveenKum11
PraveenKum11 merged commit 637636d into version-16-hotfix Aug 7, 2026
8 checks passed
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