Skip to content

Commit

Permalink
Fix issue 26.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelogil committed Aug 28, 2024
1 parent 10b892e commit b7d1030
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.2.1

- Fix: Bug creating errors during test.

## 2.2.0

- Fix: Remove empty pixel showing between the arrow and the bubble on some devices.
Expand Down
3 changes: 1 addition & 2 deletions lib/el_tooltip.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ class _ElTooltipState extends State<ElTooltip> with WidgetsBindingObserver {
@override
void dispose() {
WidgetsBinding.instance.removeObserver(this);
// remove the overlay after hiding it
_hideOverlay().then((_) => _overlayEntryHidden?.remove());
_overlayEntry?.remove();
super.dispose();
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: el_tooltip
description: ElTooltip, a smart positioned tooltip. Use it to display a widget inside a tooltip that you can personalize.
version: 2.2.0
version: 2.2.1
repository: https://github.com/marcelogil/el_tooltip

environment:
Expand Down

0 comments on commit b7d1030

Please sign in to comment.