{"action":"closed","issue":{"url":"https://api.github.com/repos/longbill/jquery-date-range-picker/issues/274","repository_url":"https://api.github.com/repos/longbill/jquery-date-range-picker","labels_url":"https://api.github.com/repos/longbill/jquery-date-range-picker/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/longbill/jquery-date-range-picker/issues/274/comments","events_url":"https://api.github.com/repos/longbill/jquery-date-range-picker/issues/274/events","html_url":"https://github.com/longbill/jquery-date-range-picker/issues/274","id":175040455,"number":274,"title":"Hovering over a timeslider invokes setValue","user":{"login":"holtkamp","id":776405,"avatar_url":"https://avatars.githubusercontent.com/u/776405?v=3","gravatar_id":"","url":"https://api.github.com/users/holtkamp","html_url":"https://github.com/holtkamp","followers_url":"https://api.github.com/users/holtkamp/followers","following_url":"https://api.github.com/users/holtkamp/following{/other_user}","gists_url":"https://api.github.com/users/holtkamp/gists{/gist_id}","starred_url":"https://api.github.com/users/holtkamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holtkamp/subscriptions","organizations_url":"https://api.github.com/users/holtkamp/orgs","repos_url":"https://api.github.com/users/holtkamp/repos","events_url":"https://api.github.com/users/holtkamp/events{/privacy}","received_events_url":"https://api.github.com/users/holtkamp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T10:17:58Z","updated_at":"2016-09-05T11:05:12Z","closed_at":"2016-09-05T11:05:12Z","body":"We use ```setValue``` to issue an AJAX request to the backend to calculate a new price as soon as the value (date / time) has actually changed. \r\n\r\nThis line https://github.com/longbill/jquery-date-range-picker/blob/eb4f79b459ec6fd65490f0d08e82bc20a2722a0c/src/jquery.daterangepicker.js#L1072 and specifically the ```mousemove``` event, will cause the ```setValue``` to be invoked even when a mouse is just **hovering** the element. This causes a load of useless requests to the backend.\r\n\r\n@longbill, why is this? Shall we exclude the ```mousemove``` event from the events that triggers ```setValue``` to be invoked? Also see: https://api.jquery.com/mousemove/"}}
{"actor":{"display_login":"holtkamp"}}