-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS] Fix issue using TapGesture #11419
Conversation
@jsuarezruiz The test needs to be updated to use brushes. |
Updated the test to use brushes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D:\agent\1\s\Xamarin.Forms.Controls.Issues\Xamarin.Forms.Controls.Issues.Shared\Issue11050.xaml.cs(15,29): error CS0117: 'UITestCategories' does not contain a definition for 'Shapes' [D:\agent\1\s\Xamarin.Forms.Core.macOS.UITests\Xamarin.Forms.Core.macOS.UITests.csproj]
3e63553
to
70f8a39
Compare
Wow you are kidding me? I do not commit to the repo for years, and one day I decide to pick off something that seems easy. I start to type the commit message and find that you have created this PR. Of course I am not really upset, just facepalming at the irony. The solution I had was not as good, I disabled user interaction on all the native views in the shape renderer class allowing events to pass through. Also my focus was only on 12685 |
Here is a copy of my test for this. Verified that the patch passes this test. https://gist.github.com/bholmes/f7b68c31641e99019c6b11ee6286b575 |
:( Sorry. Actually this PR was related to 10623 until recently I tried and added 12685 (which is exactly the same). |
/azp run |
No pipelines are associated with this pull request. |
Failing test on iOS not related |
{ | ||
public Issue10623() | ||
{ | ||
Device.SetFlags(new List<string>(Device.Flags ?? new List<string>()) { "Shapes_Experimental" }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think we don't need this right?
We should run all uitests as this test is not just on iOS |
…ixes xamarin#12685 fixes xamarin#13020 * Added repro sample * Fixed the issue * Update Issue11050.xaml.cs * Updated issue 10626. Replaced Color by Brush. * Fixed build error * Fixed build error * Added Issue12685 test * Changes in text format * Fix rebase error Co-authored-by: Samantha Houts <[email protected]> Co-authored-by: E.Z. Hart <[email protected]> Co-authored-by: Rui Marinho <[email protected]>
Description of Change
Fix issue using TapGesture on iOS.
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
Testing Procedure
Launch Core Gallery and navigate to the issue 10623. Tap the rating control. If you can modify the number of selected stars, the test has passed.
PR Checklist