Bug 1459084

Summary: [trello h1BT3lyQ] "Show Less" flashes with clicked "Show More" on Safari, Edge
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED CURRENTRELEASE QA Contact: XiaochuanWang <xiaocwan>
Severity: low Docs Contact:
Priority: medium    
Version: 3.6.0CC: aos-bugs, jforrest, jokerman, mmccomas, rhamilto, spadgett
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: 2017-07-25 13:57:44 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:
Attachments:
Description Flags
Show More Show Less flash on Safari 10.1 none

Description Xingxing Xia 2017-06-06 09:07:04 UTC
Description of problem:
On Safari, Edge, "Show Less" flashes with clicked "Show More"; vice versa. See screen record.
Firefox, Chrome don't have the issue.

Version-Release number of selected component (if applicable):
openshift v3.6.95

How reproducible:
Always

Steps to Reproduce:
1. After Service Catalog is deployed, customize the saas offering section to have more than 4 items by:
$ cat saas-offering.js
window.OPENSHIFT_CONSTANTS.SAAS_OFFERINGS.push( {id: 1, title: 'XXIA Example App 1', icon: 'fa fa-cubes', url: 'https://www.google.com', description: 'this is added by xxia'})
// snipped
window.OPENSHIFT_CONSTANTS.SAAS_OFFERINGS.push( {id: 5, title: 'XXIA Example App 5', icon: 'fa fa-cubes', url: 'https://www.google.com', description: 'this is added by xxia'})

$ vi master-config.yaml
...
assetConfig:
  extensionScripts:
  - saas-offering.js
...

Then restart master service

2. On Safari or Edge, login to home page, check saas offering. Click "Show More", then click "Show Less"

Actual results:
2. "Show More Show Less" flashes

Expected results:
2. Should no the flash of "Show More Show Less"

Additional info:

Comment 1 Xingxing Xia 2017-06-06 09:09:35 UTC
Created attachment 1285302 [details]
Show More Show Less flash on Safari 10.1

Comment 2 Robb Hamilton 2017-06-06 13:32:26 UTC
PR to fix: https://github.com/openshift/origin-web-catalog/pull/271

Comment 3 Robb Hamilton 2017-06-07 18:41:22 UTC
Update to console to pull in previous PR: https://github.com/openshift/origin-web-console/pull/1658

Comment 5 Xingxing Xia 2017-07-03 02:50:20 UTC
Verified in v3.6.126.1
The flash after clicking "Show More" or "Show Less" in Safari/Edge disappears now. Regression testing on other browsers, they still work without new issue.
Thanks!