Add comments
This commit is contained in:
parent
57da6d8cac
commit
3da0a04fa5
|
@ -35,6 +35,9 @@
|
||||||
|
|
||||||
$: target = portalTarget || getContext(Context.PopoverRoot) || ".spectrum"
|
$: target = portalTarget || getContext(Context.PopoverRoot) || ".spectrum"
|
||||||
$: {
|
$: {
|
||||||
|
// Disable pointer events for the initial part of the animation, because we
|
||||||
|
// fly from top to bottom and initially can be positioned under the cursor,
|
||||||
|
// causing a flashing hover state in the content
|
||||||
if (open && animate) {
|
if (open && animate) {
|
||||||
blockPointerEvents = true
|
blockPointerEvents = true
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
|
|
Loading…
Reference in New Issue