Skip to content

Fix the confirmation Dialog box error #174

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

Merged
merged 2 commits into from
May 13, 2025

Conversation

AQIB-NAWAB
Copy link
Contributor

@AQIB-NAWAB AQIB-NAWAB commented Apr 29, 2025

What kind of change does this PR introduce?
bugfix

Issue Number:

Screenshots/videos:
Screencast from 2025-04-29 22-29-17.webm

Summary
Resolve the unexpected behavior of the confirmation dialog box error. Now it is persistent and work properly.

Does this PR introduce a breaking change?

NO

@JeelRajodiya JeelRajodiya requested a review from Copilot May 13, 2025 12:42
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue with the confirmation dialog box by ensuring the menu closes appropriately and adjusting the popover behavior.

  • Added an immediate close on menu button click.
  • Introduced explicit open/close delays and a conditional display style.
  • Adjusted the reset action to close the menu after showing a toast notification.
Comments suppressed due to low confidence (1)

app/components/NavBarMenus/NavBarMenus.tsx:40

  • [nitpick] Consider confirming that closing the menu immediately on button click (before sending the GA event) is the intended user experience, as it may affect the timing of event tracking.
setIsOpen(false);

@JeelRajodiya JeelRajodiya merged commit ba895f8 into json-schema-org:main May 13, 2025
1 check 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.

Bug : The Confirmation dialog remains open if close modal
2 participants