Reader bug: Navigating back to a post detail in modal context removes the dismiss icon
Expected behavior
The v icon on the navigation bar (to dismiss the modal) should remain visible after navigating back from another post.
Actual behavior
In the post detail, tapping any posts from the 'More from {blog}' presents that post in a modal context. Tapping another post from the 'More from {blog}' section pushes a view onto the navigation stack. When navigating back, this removes the v icon on the left side of the navigation bar, which dismisses the modal.
Steps to reproduce the behavior
- Navigate to Reader and open any post.
- Scroll down to the 'More from {this blog}' or 'More on WordPress.com' section.
- Tap on any post. The should show that post in a modal context.
- Scroll down to the 'More' section again, and tap any post.
- Tap back.
- 🔎 Observe that the dismiss icon (
v) is missing.
Here is a video:
https://github.com/wordpress-mobile/WordPress-iOS/assets/1299411/7964deec-5263-4afc-96fd-4aa9fc835107
Tested on iPhone & iPad, any supported iOS version, Jetpack iOS / WordPress iOS 24.9
Thanks for reporting! 👍
The posts are no longer displayed in modals, and this issue no longer appears. Closing.