element [Bug Report] Popover hide while trigger is click(not mouseup)

6ljaweal  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(92)

Element UI version

2.13.2

OS/Browsers version

win10x86 chrome 80

Vue version

2.6.2

http://www.serfend.top/#/application/newApply?via=github.com

Steps to reproduce

  1. select usernameinput in login form (at the right top of the browser)
  2. input arbitrarily letters
  3. move mouse from right to left to select the username``input till out of the Popover
  4. release the mouse

What is Expected?

click - trigger should not effect on Popover

What is actually happening?

click - trigger should effect on Popover

niwlg2el

niwlg2el1#

i find that while i set trigger to ref,it wouldnt sync with i set from manual to hover

<el-popover
        v-model="userCardShow"
        placement="bottom-end"
        :trigger="!hasLogin&&loginFormHasShow?'manual':'hover'"
        @show="userCardShowing(true)"
        @hide="userCardShowing(false)"
      />

the following doesnt hit the expected

:trigger="!hasLogin&&loginFormHasShow?'manual':'hover'"
vx6bjr1n

vx6bjr1n2#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题