diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a426fce..57d8d057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.0.0-beta.3] +🛠️ Fixed 🛠️ +* Better UX of the click on the calendar elements in `MacosDatePicker` + ## [2.0.0-beta.2] ✨New ✨ * `MacosSwitch` has been completely rewritten and now matches the native macOS switch in appearance and behavior. diff --git a/example/pubspec.lock b/example/pubspec.lock index 931e90c9..ce6e9a1a 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -97,7 +97,7 @@ packages: path: ".." relative: true source: path - version: "2.0.0-beta.2" + version: "2.0.0-beta.3" macos_window_utils: dependency: transitive description: diff --git a/lib/src/selectors/date_picker.dart b/lib/src/selectors/date_picker.dart index 348fec85..d5145dc4 100644 --- a/lib/src/selectors/date_picker.dart +++ b/lib/src/selectors/date_picker.dart @@ -526,6 +526,7 @@ class _MacosDatePickerState extends State { } Widget dayWidget = GestureDetector( + behavior: HitTestBehavior.opaque, onTap: () { setState(() { _isDaySelected = true; diff --git a/pubspec.yaml b/pubspec.yaml index c52118c0..ceb9b29b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: macos_ui description: Flutter widgets and themes implementing the current macOS design language. -version: 2.0.0-beta.2 +version: 2.0.0-beta.3 homepage: "https://macosui.dev" repository: "https://github.com/GroovinChip/macos_ui"