Mini Program input copy and paste problem

use the api provided by Mini Program to copy and paste and use the bindfocus event to get the input value,

The

bindlongtap event implements copy and paste, but the keyboard has to be turned off every time. Is there a better way?

Apr.18,2022

my long press event is added to the input. It should be in the outer layer of the input package view to write the event on the view so that there will be no problem (or there is a problem testing on the phone that the parent event will not be triggered when the cursor hovers over input)

Menu