Fix the navigation menu not opening on touch #690
Sem revisores
Rótulos
Sem rótulos
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
Sem etapa
Nenhum planeamento
Sem encarregados
1 participante
Notificações
Data de vencimento
Sem data de vencimento definida.
Dependências
Não estão definidas dependências.
Referência: Plume/Plume#690
Carregando…
Adicionar tabela
Criar uma nova questão referindo esta
Nenhuma descrição fornecida.
Eliminar o ramo "master"
Eliminar um ramo é algo permanente. Embora o ramo eliminado possa continuar a existir por um breve período de tempo antes de ser realmente removido, a operação NÃO PODERÁ ser desfeita na maioria dos casos. Quer continuar?
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.