From 04ecdaa85c68d3ae5e888e8040cf039bfde00acb Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Wed, 2 Sep 2020 22:50:09 +0300 Subject: [PATCH 1/2] Update the dropdown event interface --- attractions/date-picker/date-picker.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attractions/date-picker/date-picker.svelte b/attractions/date-picker/date-picker.svelte index 27d59f26c..a970d2461 100644 --- a/attractions/date-picker/date-picker.svelte +++ b/attractions/date-picker/date-picker.svelte @@ -56,7 +56,7 @@ } function clearFocus({ detail: open }) { - if (!open) { + if (!open.value) { startFocus = false; endFocus = false; } From 30240b1b77edcc0c7447a827411c0b68618bb499 Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Wed, 2 Sep 2020 22:58:25 +0300 Subject: [PATCH 2/2] Add the changelog entry --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f796bf88..3a168ed98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/). -## [2.1.1] - 2020-09-01 +## [2.1.1] - 2020-09-02 -Just minor documentation fixes. +Minor documentation and bug fixes. ### Added - [``](https://github.com/illright/attractions/blob/master/attractions/tab/tab.svelte)s @@ -14,7 +14,8 @@ Just minor documentation fixes. ### Fixed - Mobile navigation in documentation ("Components" tab dropdown now works as expected). -- Styles now load properly when navigating directly to a page in the docs (without passing through the main page first) +- Styles now load properly when navigating directly to a page in the docs (without passing through the main page first). +- The `DatePicker` now loses focus properly. ## [2.1.0] - 2020-08-21