Sencha Touch - 菜单和边缘滑动错误 [英] Sencha Touch - menu and edge swipes errors

查看:157
本文介绍了Sencha Touch - 菜单和边缘滑动错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人找到了解决问题的方法,当菜单初始化但尚未显示且用户进行边缘滑动导致ST抛出错误时:
未捕获TypeError:无法读取未定义的属性'on'。

I'm wondering if anyone has found a fix for the issue, when the menu is initialized but has not been shown yet and the user makes edge swipes what leads to ST throwing errors: Uncaught TypeError: Cannot read property 'on' of undefined.

请在这里看到我的意思(打开控制台并进行边缘滑动):
https://fiddle.sencha.com/#fiddle/3vq

Please see here what I mean (open console and make edge swipes): https://fiddle.sencha.com/#fiddle/3vq

更多关于:
http://www.sencha.com/forum/showthread .php?281225

推荐答案

Hotcha for Sencha Touch 2.4.1侧边菜单幻灯片问题 TOUCH-5328

Hot fix for Sencha Touch 2.4.1 side menu slide issue TOUCH-5328:

替换 touch \src\viewport \Default.js line 1043

if (checkMenu.isHidden() !== false) {

with

if (checkMenu.isHidden() == false) {

这篇关于Sencha Touch - 菜单和边缘滑动错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆