Closed zhaoyao91 closed 3 years ago
I think onUntrigger
is necessary if you, for example, use the focus
trigger afterward. Does that still work fine with this change?
I think
onUntrigger
is necessary if you, for example, use thefocus
trigger afterward. Does that still work fine with this change?
Sorry for this missing. I have added onHidden
for an alternative and tried that under mouseenter focus
it now behaves as previous.
I am not sure is there any other missing, thanks for further checking.
Currently there is a bug when hovering the hiding content, it will be re-triggered but the position is wrong, since the previous cursor index is lost.
This PR fix it by retain the cursor index.