Long pressing one div with the contenteditable attribute and then long pressing another contenteditable div will result in a display error

When two divs are set with the contenteditable attribute, if you long press one div, a text menu bar appears and a portion of text is selected. However, if you then long press the other div, the text menu bar appears but the selection effect is not visible.

<div contenteditable="true" class="selectable" @touchstart="startNode">
  <span style="font-size: 34px;"> SADSADSAD asasd 2121AS saDSAD </span>
</div>
<div contenteditable="true" class="selectable" @touchstart="startNode">
  <span style="font-size: 34px;"> ABC SADSAD2112 SADSAD 1221213e </span>
</div>

I encountered the same error on both Safari and Chrome on my iPad.
I feel like this is a browser error, and I’m not sure how to fix it. I’ve tried many methods, but none have worked.