as the above code, I want to use Tooltip.vue to show some tips to user, but found that
In chrome, the tooltip can always show rightly, but in firefox the tooltip sometimes can not show rightly:
Right one:
Wrong one:
and the console output the following error:
when call toggle function, once set the "this.show = true", then the VUE will take time to render the popover div , but In firefox the setTimeout may execute before the popover div rendered, so it will cause the popover el null error.
Branch: master Error description: `
as the above code, I want to use Tooltip.vue to show some tips to user, but found that In chrome, the tooltip can always show rightly, but in firefox the tooltip sometimes can not show rightly: Right one:![image](https://user-images.githubusercontent.com/13324999/29017422-51fb296e-7b89-11e7-890c-f259e599156d.png)
Wrong one:
and the console output the following error:
![image](https://user-images.githubusercontent.com/13324999/29017484-9ae6c048-7b89-11e7-9ab2-0368b0f43eed.png)
Reason: Issue file: vue-strap/src/Tooltip.vue
Issue file: vue-strap/src/utils/popoverMixins.js
when call toggle function, once set the "this.show = true", then the VUE will take time to render the popover div , but In firefox the setTimeout may execute before the popover div rendered, so it will cause the popover el null error.
Solution Target File: vue-strap/src/utils/popoverMixins.js
in toggle function, change setTimeout function to the following: