Bug 1284398

Summary: [userinterface_public_501]Deletion buttons must be clicked twice to work on ipad/iphone
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 17:15: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 2015-11-23 09:02:57 UTC
Description of problem:
When try to delete resource from web console on ipad/iphone, the "Delete" info won't show up by hovering on the button, users have to click on the button to show the "Delete" info, and click again to make the interactive dialogue display.

Version-Release number of selected component (if applicable):
$ openshift version
openshift v1.1-123-g60e7a07
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.1.2

How reproducible:
Always

Steps to Reproduce:
1.Create app in project
2.Try to delete resources from web console on ipad/iphone
3.

Actual results:
2.Deletion buttons on all the pages have to be clicked twice, then user can choose to delete the resource or not.

Expected results:
1.Should only be clicked once then user can make a choice.

Additional info:

Comment 1 Samuel Padgett 2015-12-01 17:05:56 UTC
This is happening because of the tooltip that appears on hover. Mobile Safari will treat the first touch event as a hover and the second as a click.

I could try to remove the tooltip only on iOS, but I'm not sure it's the right approach. Do we need the tooltip at all? The trash icon seems pretty obvious (with an sr-only label), and there's a dialog that prompts before we delete anything.

Comment 2 Samuel Padgett 2015-12-01 19:37:04 UTC
https://github.com/openshift/origin/pull/6152

Comment 3 Yanping Zhang 2015-12-03 05:49:07 UTC
The pull 6152 is not merged yet, will check the issue after the pull is merged.

Comment 4 Yanping Zhang 2015-12-04 08:39:51 UTC
Tested on devenv-rhel7_2871 against ipad2/iphone6s. 
# openshift version
openshift v1.1-330-g693be19
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.1.2

Now user can choose to delete resources after click once on the button.