The issue is that the context menu, which pops up when text is selected is not clickable/touchable. The behavior is identical in Chromium, so this is obviously upstream and may have to do with click-emulation for touchscreens? I do not understand why this feature is half-implemented. Does anyone know how to entirely disable the popup menu and the little tabs to the left and right of the selection . . or better, how I may interact with them? I cannot inspect these elements, because as soon as the mouse/touchpad is used the context menu is removed.
I am working on a WYSIWYG editor, which publishes to IPFS and promoting Brave as the optimal browser for working with IPFS/IPNS content.
I absolutely love what the team has done to support IPFS! And all the amazing features you all have built! Amazing, incredible work. IPFS support is working beautifully!!!
I am using the latest version of Brave (Version 1.57.62 Chromium: 116.0.5845.180) on Ubuntu 22.04, on 6th Generation Lenovo Thinkpad X1 Carbon.
I don’t think this has anything to do with IPFS support, which has been working excellently.
I think this has to do with how touch events are being handled for a touchscreen by the Chromium core. Essentially, touching selected text in contenteditable element pops up a context menu which cannot be interacted with.
The behavior is identical when loading this from file:///home/user/test.html:
I’m trying to look for something similar but not really coming across anything specific. What I’ll do is tag @Mattches to see if he can point in the right direction.
That said, I would also suggest perhaps reaching out to Chromium team at the same time since you’re saying it seems to happen on chromium browsers as well. You can create an issue with chromium at https://bugs.chromium.org/p/chromium/issues/list
I’m seeing now how I can step around the issue, so I’m all good, and I appreciate the feedback. Mostly I was trying to ascertain if there was something that I was missing; prefer to leverage as much default behavior as possible.