Fix the navigation menu not opening on touch #690
无评审员
标签
未选择标签
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
未选择里程碑
暂无项目
未指派成员
1 位参与者
通知
到期时间
未设置到期时间。
依赖工单
没有设置依赖项。
引用:Plume/Plume#690
正在加载…
添加表格
在新工单中引用
没有提供说明。
删除分支 "master"
删除分支是永久的。虽然已删除的分支在实际被删除前有可能会短时间存在,但这在大多数情况下无法撤销。是否继续?
Fixes the issue of the mobile menu not reacting to touch, in cases where mouse clicking is not being simulated.
As you can see here,
add_event_listener
only takes one argument in Rust.However, I think replacing
|_: ClickEvent|
with|_: TouchEnd|
may work.The problem is that touchend is exclusive for iOS. Click event should still
probably stay for everything else...
On Wed, Nov 6, 2019 at 1:05 PM Ana Gelez notifications@github.com wrote:
It seems to work on all mobile browsers: https://developer.mozilla.org/en-US/docs/Web/API/Document/touchend_event#Browser_compatibility and we don't really care about desktop here I think, right?
Codecov Report
Ok, I've just modified it that way then.