{"action":"opened","issue":{"url":"https://api.github.com/repos/MikaelEdebro/vue-airbnb-style-datepicker/issues/64","repository_url":"https://api.github.com/repos/MikaelEdebro/vue-airbnb-style-datepicker","labels_url":"https://api.github.com/repos/MikaelEdebro/vue-airbnb-style-datepicker/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/MikaelEdebro/vue-airbnb-style-datepicker/issues/64/comments","events_url":"https://api.github.com/repos/MikaelEdebro/vue-airbnb-style-datepicker/issues/64/events","html_url":"https://github.com/MikaelEdebro/vue-airbnb-style-datepicker/issues/64","id":376932362,"node_id":"MDU6SXNzdWUzNzY5MzIzNjI=","number":64,"title":"hoverDate persists on mobile after selecting dates","user":{"login":"coleww","id":5067315,"node_id":"MDQ6VXNlcjUwNjczMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5067315?v=4","gravatar_id":"","url":"https://api.github.com/users/coleww","html_url":"https://github.com/coleww","followers_url":"https://api.github.com/users/coleww/followers","following_url":"https://api.github.com/users/coleww/following{/other_user}","gists_url":"https://api.github.com/users/coleww/gists{/gist_id}","starred_url":"https://api.github.com/users/coleww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleww/subscriptions","organizations_url":"https://api.github.com/users/coleww/orgs","repos_url":"https://api.github.com/users/coleww/repos","events_url":"https://api.github.com/users/coleww/events{/privacy}","received_events_url":"https://api.github.com/users/coleww/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T19:03:07Z","updated_at":"2018-11-02T19:03:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"to reproduce:\r\n\r\nopen datepicker on a mobile device,\r\nselect first date (first date gets hover class)\r\nselect second date (first date loses hover, second date gains hover)\r\nnow if you click anywhere in the datepicker (or on the apply button), the second date will lose hover. \r\n\r\nexpected: dates should only have hover class when you are actually hovering over them\r\n\r\nactual: on mobile, dates gain hover class when you click on them, and do not lose hover class until you click on something else.\r\n\r\nProposed solutions:\r\n- don't run `mouseover` event at all when on a mobile device (might be tricky to do device detection accurately)\r\n- clear hoverDate whenever a date1 or date2 is selected\r\n\r\nI'm going to be finishing up a PR for issue #40 next week, and I can tackle this bug at the same time."}}
{"actor":{"display_login":"coleww"}}