How to keep selection of window.getSeleciton() when click input

19 views Asked by At

I'm write with vue3 source code but I cannot handle input remove selection text when click it

Image description source code

I'm try with mousedown.prevent but input not working I'm try with savedSelection = window.getSelection(), then recovery it. But it not find for my project

0

There are 0 answers