dify - ✅(Solved) Fix app nav create submenu not work [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35680Fetched 2026-04-30 06:45:43
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
1
Author
Participants
Timeline (top)
closed ×1cross-referenced ×1labeled ×1

Fix Action

Fixed

PR fix notes

PR #35681: fix: restore app nav create submenu interaction

Description (problem / solution / changelog)

[!IMPORTANT]

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> <!-- If this PR was created by an automated agent, add `From <Tool Name>` as the final line of the description. Example: `From Codex`. -->

fix https://github.com/langgenius/dify/issues/35680

Fix the app navigation "New App" submenu interaction.

The previous implementation nested a Headless UI Menu inside another MenuItems. With the current Headless UI behavior, clicking the nested MenuButton could close the parent menu before the submenu interaction completed, so the submenu appeared unresponsive.

This change replaces the nested menu with a locally controlled inline submenu inside the parent menu. It also removes the default focus outline from the parent menu panel.

Screenshots

<img width="1046" height="602" alt="img_v3_02117_ef306ba7-8df5-499c-add7-32985e6063eg" src="https://github.com/user-attachments/assets/75010d2f-9b15-40b9-9be7-ab7e893c82fc" />

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

Changed files

  • web/__tests__/header/nav-flow.test.tsx (modified, +11/-1)
  • web/app/components/header/nav/__tests__/index.spec.tsx (modified, +10/-4)
  • web/app/components/header/nav/nav-selector/__tests__/index.spec.tsx (modified, +26/-4)
  • web/app/components/header/nav/nav-selector/index.tsx (modified, +79/-53)
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

latest main

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

<img width="740" height="508" alt="Image" src="https://github.com/user-attachments/assets/09afbb60-4355-43fa-9886-00e12861012a" />

in the nav bar of workflow canvas, the button hover or click does not take any effect

✔️ Expected Behavior

click the button can create app

❌ Actual Behavior

No response

extent analysis

TL;DR

The issue can be resolved by investigating and fixing the CSS or JavaScript code that handles button hover and click events in the workflow canvas navbar.

Guidance

  • Verify that the button elements in the navbar have the correct CSS classes and JavaScript event listeners attached to handle hover and click events.
  • Check the browser console for any JavaScript errors that may be preventing the button events from triggering.
  • Inspect the button elements in the browser dev tools to ensure they are not being overlapped or obscured by other elements, which could prevent click events from being registered.
  • Review the code changes made in the latest main version to identify any potential regressions that may have introduced this issue.

Notes

The provided image does not offer enough information to pinpoint the exact cause, and without access to the codebase, it's challenging to provide a more specific solution.

Recommendation

Apply workaround: Temporarily revert to a previous version of the code to see if the issue persists, and then gradually reintroduce changes to identify the root cause.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - ✅(Solved) Fix app nav create submenu not work [1 pull requests, 1 participants]