2.3.4
MAC/CHROME
2.5.10
https://jsfiddle.net/6hr287ot/1/
The last item in the table should pop up the popover.
The last item in the table not pop up the popover.
Same issue.
The event ['input', 'hide'] of <el-popover> not triggered on the last item, you can check that via the Vue dev tool.
This is related to Vue ref mechanism. Basically you should avoid setting multiple elements with the same ref (in your case, all <el-popper> has the same ref of 'popover') in a non-v-for structure.
Use named slot instead: https://jsfiddle.net/leopoldthecuber/6hr287ot/5/
@Leopoldthecoder in your example, how to close the popover when click cancel button or ok button.
Most helpful comment
This is related to Vue
refmechanism. Basically you should avoid setting multiple elements with the sameref(in your case, all<el-popper>has the samerefof 'popover') in a non-v-for structure.Use named slot instead: https://jsfiddle.net/leopoldthecuber/6hr287ot/5/