guy 3 years ago
parent
commit
6a5eb21066
  1. 2
      src/case/combo/bubblecombo/combo.bubble.js
  2. 24
      src/less/motion.less

2
src/case/combo/bubblecombo/combo.bubble.js

@ -56,7 +56,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
popup: BI.extend({
type: "bi.bubble_popup_view",
animation: "bi-zoom-big",
animationDuring: 300,
animationDuring: 200,
}, o.popup)
});
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {

24
src/less/motion.less

@ -52,27 +52,3 @@
pointer-events: none;
}
}
.zoom-big-motion-enter() {
transform: scale(0);
opacity: 0;
animation-timing-function: @ease-out-circ;
.motion-common(@animation-duration-base);
animation-play-state: paused;
}
.zoom-big-motion-enter-active() {
animation-name: biZoomBigIn;
animation-play-state: running;
}
.zoom-big-motion-leave() {
animation-timing-function: @ease-in-out-circ;
.motion-common-leave(@animation-duration-base);
}
.zoom-big-motion-leave-active() {
animation-name: biZoomBigOut;
animation-play-state: running;
pointer-events: none;
}

Loading…
Cancel
Save