File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 3232 trigger =" hover focus"
3333 placement =" top"
3434 :hideOnTargetClick =" false"
35- :delay =" { hide: 1000, show: 200 } "
35+ :delay =" tooltipDelay "
3636 >
3737 <button
3838 @click.prevent =" copyAddress"
39+ @mouseleave =" offsetToolTipDelay"
40+ @mouseenter =" setInitialToolTipDelay"
3941 class =" btn btn-outline-light"
4042 :id =" `${asset}_address_container`"
4143 >
@@ -161,7 +163,8 @@ export default {
161163 activityData: [],
162164 updatingBalances: false ,
163165 address: null ,
164- showPopOver: true
166+ showPopOver: true ,
167+ tooltipDelay: { hide: 1000 , show: 200 }
165168 }
166169 },
167170 props: [' accountId' , ' asset' ],
@@ -245,6 +248,16 @@ export default {
245248 },
246249 applyFilters (filters ) {
247250 this .activityData = applyActivityFilters ([... this .assetHistory ], filters)
251+ },
252+ offsetToolTipDelay () {
253+ this .$nextTick (() => {
254+ this .tooltipDelay = { hide: 0 , show: 0 }
255+ })
256+ },
257+ setInitialToolTipDelay () {
258+ this .$nextTick (() => {
259+ this .tooltipDelay = { hide: 1000 , show: 200 }
260+ })
248261 }
249262 },
250263 async created () {
You can’t perform that action at this time.
0 commit comments