We're using SC.showPrompt() to block the user while waiting for a response from a call to the server. Mouse input is blocked, but if the cursor is on a field in a form that sits behind the modal prompt window, and that form has setSaveOnEnter(true), pressing Enter tries to save the form data while the "modal" prompt is still showing.
Announcement
Collapse
No announcement yet.
X
-
In theory focus should be taken from the focused form item when the prompt is shown (and restored when the prompt is dismissed).
This is working in our simple test case.
Any chance you could show us some sample code that demonstrates the issue?
Troubleshootingwise, do you have anything like a call to explicitly focus in the item after showing the prompt?
Comment