Open SchittkowskiMS opened 1 month ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This issue has been verified using Visual Studio 17.11.0 Preview 7.0(8.0.80 & 8.0.71). Can repro on Windows and Android and iOS platform.
Description
When using an EventTrigger in a global defined style the invoke method gets called twice.
When using a new Style with Key and applying it that way to the control it gets only called once.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/SchittkowskiMS/MauiEventTriggerIssue
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows
Affected platform versions
iOS 17.5.1 Android 14 Windows 11
Did you find any workaround?
Not a good workarround but when setting this in a "named style" and then applying it to the control by key it works as expected.
Relevant log output
No response