Preventing focus (with soft-keyboard) on phone

I’m trying to do something very similar to this

But what I want to do is to also prevent the soft-keyboard to show when I click a specific word. Even if I’m returning true on my custom click handler (which I assume prevents prosemirror’s own click handlers to execute), sometimes my tooltip shows & hides and then the cursor remains there, with the soft-keyboard open.

Anyone faced the same issue?