-
It looks like the anvil_extras “augment” function is now returning a different response for the “hover” event. Per the documentation, it states event_type “enter” is what to look for. Now it is “mouseover” and “mouseout”? If this is now going to be changed I will have to go through ALL of my code and replace this! Please confirm what we are to expect? Previous:
Also, sometimes it is: “mouseleave”, or “mouseenter”. This does not seem dependable? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 3 replies
-
Not sure. You could see if it's different for links and buttons. I've timed out for today but I can look more at this tomorrow. Please can you provide a clone link and browser/OS information in the meantime. (In case it's browser specific) |
Beta Was this translation helpful? Give feedback.
-
I've tried it in both Chrome and Brave and gotten the same results. Here is a sample app showing how it randomly gives different event_types. Just scroll over the different component types multiple times and you will notice that the same component will give different results from time to time. https://anvil.works/build#clone:6ZXLBLDOIK7FQULE=D3S4RIMDM7E7WITROO5RFMOQ It's easily fixable with a little code change, but I'm concerned I will have to update all the code I've ever written! This is what I am using to resolve the randomness:
|
Beta Was this translation helpful? Give feedback.
-
Are you on windows? the docs say to do |
Beta Was this translation helpful? Give feedback.
-
I'm on windows
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: stu ***@***.***>
Sent: Wednesday, April 20, 2022 5:34:35 PM
To: anvilistas/anvil-extras ***@***.***>
Cc: chad63e ***@***.***>; Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
Are you on windows?
On Mac I only get mouseenter and mouseleave
—
Reply to this email directly, view it on GitHub<#319 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBUQ4LIXU6P7TICJHVV453VGCA7XANCNFSM5T4YGG6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
That's why I initially posted on the regular forum.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Chad Heathcote ***@***.***>
Sent: Wednesday, April 20, 2022 6:15:46 PM
To: anvilistas/anvil-extras ***@***.***>; anvilistas/anvil-extras ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
Yes, it started right after the issue with anvil not loading nested forms today.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: stu ***@***.***>
Sent: Wednesday, April 20, 2022 6:14:09 PM
To: anvilistas/anvil-extras ***@***.***>
Cc: chad63e ***@***.***>; Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
Is this new behaviour?
Or you've only just noticed?
since when have you noticed it?
—
Reply to this email directly, view it on GitHub<#319 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBUQ4OMQXNNTMA7OY4EIY3VGCFUDANCNFSM5T4YGG6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry,
This is new behavior, and yes, it just started today after the anvil issue
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: stu ***@***.***>
Sent: Wednesday, April 20, 2022 6:24:15 PM
To: anvilistas/anvil-extras ***@***.***>
Cc: chad63e ***@***.***>; Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
What were the answers?
Is this new behaviour?
Or you've only just noticed?
since when have you noticed it?
—
Reply to this email directly, view it on GitHub<#319 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBUQ4ODXRIFALVX44NXNLDVGCGZ7ANCNFSM5T4YGG6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm out of the office now, but will see what it is returning tomorrow and let you know. Thanks
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: stu ***@***.***>
Sent: Wednesday, April 20, 2022 6:32:26 PM
To: anvilistas/anvil-extras ***@***.***>
Cc: chad63e ***@***.***>; Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
Can you try again. There was an IDE but we just fixed that may have solved this already.
—
Reply to this email directly, view it on GitHub<#319 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBUQ4M6HX7ZUBE5YY2JS53VGCHYVANCNFSM5T4YGG6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've managed to reproduce if I reintroduce the beta bug that was fixed. I've also implemented a workaround that will prevent this happening again see #319 |
Beta Was this translation helpful? Give feedback.
-
It looks like it is consistantly "mouseenter" or "mouseleave" now. Thanks for the help Stu! |
Beta Was this translation helpful? Give feedback.
-
Yes, it started right after the issue with anvil not loading nested forms today.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: stu ***@***.***>
Sent: Wednesday, April 20, 2022 6:14:09 PM
To: anvilistas/anvil-extras ***@***.***>
Cc: chad63e ***@***.***>; Author ***@***.***>
Subject: Re: [anvilistas/anvil-extras] Augmentation - Hover event_type changed? (Discussion #319)
Is this new behaviour?
Or you've only just noticed?
since when have you noticed it?
—
Reply to this email directly, view it on GitHub<#319 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBUQ4OMQXNNTMA7OY4EIY3VGCFUDANCNFSM5T4YGG6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I've managed to reproduce if I reintroduce the beta bug that was fixed.
So this should now work as expected.
I've also implemented a workaround that will prevent this happening again see #319