Skip to content

Add tests for platform views' hover behavior #61667

Merged
goderbauer merged 11 commits intoflutter:masterfrom
dkwingsmt:platform-view-hittest-behavior
Jul 29, 2020
Merged

Add tests for platform views' hover behavior #61667
goderbauer merged 11 commits intoflutter:masterfrom
dkwingsmt:platform-view-hittest-behavior

Conversation

@dkwingsmt
Copy link
Contributor

@dkwingsmt dkwingsmt commented Jul 16, 2020

Description

While #59883 has already (largely) fixed #58616, this PR adds tests for it. Also, this PR fixed an issue where changing the behavior didn't trigger re-hittest.

Related Issues

Tests

I added the following tests:

  • Platform views respect hitTestBehavior

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read Handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.

@fluttergithubbot fluttergithubbot added the framework flutter/packages/flutter repository. See also f: labels. label Jul 16, 2020
@dkwingsmt dkwingsmt requested a review from mdebbar July 16, 2020 22:39
Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing this!

@Piinks Piinks added a: mouse Issues related to using a mouse or mouse support a: platform-views Embedding Android/iOS views in Flutter apps labels Jul 21, 2020
@goderbauer
Copy link
Member

fly-by comment: looks like cirrus is unhappy.

@goderbauer goderbauer merged commit 5398f5c into flutter:master Jul 29, 2020
Pragya007 pushed a commit to Pragya007/flutter that referenced this pull request Aug 11, 2020
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: mouse Issues related to using a mouse or mouse support a: platform-views Embedding Android/iOS views in Flutter apps framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PlatformView prevents widgets behind it from receiving hover events

6 participants