enyojs/moonstone — pull request #1319 by graynorton (2014-05-22 19:29:47+00:00)
Title: BHV-8482: Prevent slider from being spotlight-unhighlighted...

... if the pointer moves away during a drag operation.

This was a regression due to a change in Spotlight, which fixed BHV-732. Spotlight used to unhighlight in onSpotlightBlur, which meant that Slider could prevent the unhighlight from happening by returning true in its handler for onSpotlightBlur; but now unhighlight happens directly on unspot, so there's no opportunity to cancel. Our new approach is to freeze Spotlight during our drag operation, which prevents unspot from happening during drag and therefore achieves the effect we want.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)