Cancelling a back gesture causes nav bar button to look disabled

Originator:indiekiduk
Number:rdar://FB7713915 Date Originated:25/5/20
Status:Open Resolved:No
Product:UIKit Product Version:Xcode 11.5 iOS 13.5
Classification:Bug Reproducible:Always
 
Please provide a descriptive title for your feedback:
Cancelling a back gesture causes nav bar button to look disabled
Which area are you seeing an issue with?
UIKit
What type of feedback are you reporting?
Incorrect/Unexpected Behavior
Description
Please describe the issue and what steps we can take to reproduce it:
Hi I noticed a bug in nav bar buttons when the back gesture to go back is being used. When you have a screen that uses a nav bar button to push on a second screen, if a back gesture is started then cancelled, and then the user does go back to first screen, that nav bar button is greyed out making it look disabled. I've attached a sample app that demonstrates the issue and also a screen capture. After launching it on iPhone simulator the steps are as follows:

1. Tap Next.
2. On left edge of screen begin a drag to go back gesture but cancel it to remain on this screen.  
3. Go back to previous screen either by doing a drag gesture or tapping the back button.
4. Bug is that the Next button is now greyed out as if it is disabled but it still works.

Xcode 11.5
iOS Simulator 13.5

Comments

Apple 4/7/20

After reviewing your feedback, we have some additional information for you:

Please retest this with the current seed and let us know if issue still occurs for you. The Nav Bar button does become grayed out after cancelling the gesture, but the button can still be pressed and works correctly.

Please verify this issue with the Xcode 12 beta 1 and update your bug report with your results by logging into https://feedbackassistant.apple.com/ or by using the Feedback Assistant app.

Xcode 12 beta 1 (12A6159) https://developer.apple.com/download/ Posted Date: June 22nd, 2020

By indiekiduk at July 4, 2020, 12:07 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!