Bug 1533756

Summary: [trello sg1xw7gG] Set home page modal disappears automatically if click outside the modal
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas, spadgett, yapei
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 21:07:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yanping Zhang 2018-01-12 06:44:31 UTC
Description of problem:
Open set home page modal by click "accountname" -> "Set Home Page", click outside modal, the modal disappears automatically.

Version-Release number of selected component (if applicable):
openshift v3.9.0-alpha.2+00c6589-9
kubernetes v1.9.0-beta1


How reproducible:
Always

Steps to Reproduce:
1.Open set home page modal by clicking "accountname" -> "Set Home Page", click outside modal
2.
3.

Actual results:
1.The modal disappears automatically.


Expected results:
2.The modal should not disappear without click "Save" or "Cancel" button.

Additional info:
Same issue exists for "Tour Catalog Home" modal.

Comment 1 Samuel Padgett 2018-01-12 12:57:37 UTC
Assigning to Robb since he fixed the other related bug.

We should probably decide generally how we want these modals to behave. The default bootstrap behavior is to dismiss when clicking outside, so in that sense it's a feature not a bug. It's not clear to my why it's a problem, although I can see an argument for confirmation prompts.

Comment 2 Robb Hamilton 2018-01-15 16:41:21 UTC
PR to resolve: https://github.com/openshift/origin-web-console/pull/2660

Comment 3 Yadan Pei 2018-01-17 06:32:35 UTC
Fixed in 3.9.0-0.20.0, could verify when ON_QA

Comment 4 Yanping Zhang 2018-01-18 05:49:34 UTC
Checked on OCP v3.9.0-0.20.0, the modals won't disappear when clicking on background. So move the bug to Verified.