Skip to content

[pointer_interceptor] Fully publish pointer_interceptor package #5640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## NEXT
## 0.10.0

* Adds iOS implementation.
* Transitions to federated architecture.
* Adds iOS implementation to federated package.

## 0.9.3+7

* Updates metadata to point to new source folder
* Updates metadata to point to new source folder.

## 0.9.3+6

Expand Down
4 changes: 2 additions & 2 deletions packages/pointer_interceptor/pointer_interceptor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The result is that Flutter widget's `onTap` (and other) handlers won't fire as e

|The problem...|
|:-:|
|![Depiction of problematic areas](https://raw.githubusercontent.com/flutter/packages/main/packages/pointer_interceptor/doc/img/affected-areas.png)|
|![Depiction of problematic areas](https://raw.githubusercontent.com/flutter/packages/cb6dbcdd230528c0c246c81d93386c512f9a23d0/packages/pointer_interceptor/pointer_interceptor/doc/img/affected-areas.png)|
|_In the dashed areas, mouse events won't work as expected. The `HtmlElementView` will consume them before Flutter sees them._|

## How does this work?
Expand All @@ -27,7 +27,7 @@ This gives an opportunity to the Flutter framework to handle the click, as expec

|The solution...|
|:-:|
|![Depiction of the solution](https://raw.githubusercontent.com/flutter/packages/main/packages/pointer_interceptor/doc/img/fixed-areas.png)|
|![Depiction of the solution](https://raw.githubusercontent.com/flutter/packages/cb6dbcdd230528c0c246c81d93386c512f9a23d0/packages/pointer_interceptor/pointer_interceptor/doc/img/fixed-areas.png)|
|_Each `PointerInterceptor` (green) renders between Flutter widgets and the underlying `HtmlElementView`. Mouse events now can't reach the background HtmlElementView, and work as expected._|

## How to use
Expand Down
10 changes: 3 additions & 7 deletions packages/pointer_interceptor/pointer_interceptor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: pointer_interceptor
description: A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor/pointer_interceptor
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pointer_interceptor%22
version: 0.9.3+7
# while transitioning to federated structure, removed ability to published temporarily.
publish_to: none
version: 0.10.0

environment:
sdk: ">=3.1.0 <4.0.0"
Expand All @@ -24,11 +22,9 @@ dependencies:
sdk: flutter
flutter_web_plugins:
sdk: flutter
pointer_interceptor_ios:
path: ../pointer_interceptor_ios
pointer_interceptor_ios: ^0.10.0
pointer_interceptor_platform_interface: ^0.10.0
pointer_interceptor_web:
path: ../pointer_interceptor_web
pointer_interceptor_web: ^0.10.0

dev_dependencies:
flutter_test:
Expand Down