Closed MerrickZ closed 10 years ago
We've decided to not animate it. The reason being performance. Because when it hides, it is also sizing the scrollable area above it, the animation can get choppy. We chose the option that was the fastest and didn't create a choppy effect. This is the same reasoning for the drop-downs not animating when opening. The animation of sizing the element and re-laying out the rest of the DOM had performance issues.
Yep, I agree with you, performance first. 发送自我的 BlackBerry 10 智能手机。 发件人: Tim Neil已发送: 2014年1月23日星期四 下午10:02收件人: blackberry/bbUI.js答复: blackberry/bbUI.js抄送: Merrick Zhang主题: Re: [bbUI.js] could ActionBar .hide() .show() be animated like native? (#1003)We've decided to not animate it. The reason being performance. Because when it hides, it is also sizing the scrollable area above it, the animation can get choppy. We chose the option that was the fastest and didn't create a choppy effect. This is the same reasoning for the drop-downs not animating when opening. The animation of sizing the element and re-laying out the rest of the DOM had performance issues.
—Reply to this email directly or view it on GitHub.
could ActionBar .hide() .show() be animated like native?