Home > front end >  El Elementui components - popover arrow position
El Elementui components - popover arrow position

Time:10-23

I use the manual way to trigger the popover, because popover to implement into the default page, so in mounted to write a document. The getElementById (' XXX '). Click to trigger (), but the problem is that every time is a little deviation in popover, specifically the popover arrow don't just point to trigger the elements, have certain deviation, once there is any trigger or F5 to refresh the page after the resize event become normal, what reason is this excuse me? In my code from triggered the resize also failed to solve,

CodePudding user response:

He has to provide the API you why want to use this way to trigger the document inside the value attribute is control whether he shows

CodePudding user response:

reference 1st floor nian_cj response:
he has provided API you why want to use this way to trigger the document inside the value attribute is control whether he shows
set the value to true will cover the trigger element...

CodePudding user response:

refer to the original poster wave yuppie reply:
I use manual way to trigger the popover, because popover to implement into the default page, so in mounted to write a document. The getElementById (' XXX '). Click to trigger (), but the problem is that every time is a little deviation in popover, specifically the popover arrow don't just point to trigger the elements, have certain deviation, once there is any trigger or F5 to refresh the page after the resize event become normal, what reason is this excuse me? In my code from triggered the resize also failed to solve,



Solve the building Lord, is how to solve

CodePudding user response:

In mounted setting to true not line?
  • Related