NetNewsWire icon indicating copy to clipboard operation
NetNewsWire copied to clipboard

iOS: Unable to select text when article is in full screen mode

Open stuartbreckenridge opened this issue 4 years ago • 7 comments

To reproduce:

  • Open an article;
  • Tap the top bar to hide toolbars;

then

  • double-tapping to select text doesn't work; and,
  • long-pressing text opens up the article context menu

stuartbreckenridge avatar Sep 15 '21 00:09 stuartbreckenridge

This is a known behavior. This is a side effect of using the context menu. I'm open to suggestions to change the behavior if you have any.

vincode-io avatar Sep 15 '21 00:09 vincode-io

My preference would be that the text selection behaviour remains the same regardless of whether the toolbars are present. The context menu shouldn't be there at all.

stuartbreckenridge avatar Sep 15 '21 00:09 stuartbreckenridge

The context menu was a requirement from @brentsimmons. I think it was the right call. I frequently use the context menu when in full screen.

vincode-io avatar Sep 15 '21 00:09 vincode-io

The counter argument is that the context menu interferes with the system-wide text selection gestures—both double-tap and long-press.

Is it possible to keep double-tap to select text? It doesn't appear to do anything just now.

stuartbreckenridge avatar Sep 15 '21 00:09 stuartbreckenridge

I think this is just how WKWebKit works. All we are doing is adding a UIContextMenuInteraction to it. I'd love for you to dig into it and prove me wrong.

vincode-io avatar Sep 15 '21 00:09 vincode-io

Been thinking about this...

Maybe we could remove the context menu if we added an ellipsis (hamburger) menu in the top left. It would make the actions more discoverable and you could select text again.

vincode-io avatar Sep 15 '21 03:09 vincode-io

https://github.com/user-attachments/assets/e8418206-0ff9-4993-908a-2d38eed3ffc0

Double tap works but is wonky, hold doesn't work.

This is on latest iOS 18 as of this post.

bbsixzz avatar Dec 04 '25 19:12 bbsixzz