Aman-Mittal opened a new issue, #586: URL: https://github.com/apache/fineract-backoffice-ui/issues/586
Opening **Actions** on a client and then navigating away leaves the popover on screen. It keeps rendering over the new page, still listing the previous record's actions.  ## Reproduction 1. Sign in, open a client — `/clients/view/20`. 2. Click **Actions**. 3. With the menu open, click **Dashboard** (or **Loans**) in the sidebar. 4. The route changes, the dashboard renders — and the menu is still there, offering *Close Client*, *Propose Transfer*, *Transfer Immediately*, *Assign Staff*, *Set Default Savings Account*. Reproduced on navigation to both `/dashboard` and `/loans`. ## Scope — it is visual, not a data-integrity bug I checked how far it goes before filing, because a menu containing *Close Client* floating over an unrelated page reads alarming: - **The items are inert.** Clicking *Assign Staff* on the stale menu does nothing — the route stays put and no form opens. The handlers die with the destroyed component, so there is no way to fire an action against the previous client from here. - **It dismisses normally.** `Escape` closes it, and so does clicking anything on the page. So the risk is confusion rather than a wrong write. It still looks broken: the operator sees a menu naming a record they have navigated away from, clicks an item, and nothing happens — with no feedback explaining why. ## Suggested fix Dismiss the popover on route change — close it in the record view's teardown, or subscribe to router events and dismiss any open overlay. The same pattern presumably applies to the other record views that use this Actions menu (loans, savings accounts, deposits). Worth checking whether other overlays behave the same way on navigation. ## Tested against Deployed build of `main`, Chrome, 1440x900. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
