https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
--- Comment #221 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 211713 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211713&action=edit Bug 42383: (QA follow-up) Dim the page and block clicks outside the dialog with TransfersBlockCirc TransfersBlockCirc ("Block staff from continuing to check in items when a transfer is triggered") only disabled the barcode box on the Vue check-in page. Every dialog carries the non-blocking class (no backdrop, pointer-events: none), so the page behind the transfer prompt stayed fully usable. Following a menu or sidebar link while the prompt was open navigated away and abandoned it: the item stayed "Available" and the transfer was never made or recorded. The legacy returns.pl page prevents this with a static backdrop that dims the page and swallows every click. When the transfer prompt blocks (TransfersBlockCirc on) the dialog now: - uses a "blocking" state with a dimmed backdrop and pointer-events on, so clicks outside the dialog hit the backdrop and do nothing - sets aria-modal="true" - keeps keyboard focus inside the dialog (Tab cannot reach the page) Escape was already ignored in this state and still is. Without TransfersBlockCirc nothing changes: the dialog stays non-blocking so staff can keep scanning. Test plan: 1. Apply the patch and rebuild the JS (yarn js:build) 2. Set TransfersBlockCirc to Block and AutomaticItemReturn to Don't automatically transfer 3. Check in an item that belongs to another library => "Transfer now?" is shown and the page behind is dimmed 4. Click a sidebar link, empty space, the barcode box; press Escape => Nothing happens, you stay on the page with the dialog open 5. Choose an option => The dialog closes and the check-in completes 6. Set TransfersBlockCirc to Don't block and repeat 3 => No dimming, the dialog can be dismissed with Escape 7. Run: $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts => SUCCESS: Tests pass! Assisted-by: Sonnet 5.5 (Anthropic) Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
