Posts

Material UI ClickAwayListener remain open on touchmove event

Image
0 I am inexperienced with mobile touch events so I am seeking some clarification. I have a Material UI ClickAwayListener which wraps a Popper . I want this Popper to remain open until the user clicks or taps outside. I found when testing on a touch device that the onClickAway function was invoked by a touchmove (as expected when the user removes their finger). I worked around this issue by using a touchmove event listener and state property that the user is moving on the screen. A working example is here. Is there a simpler solution to this? Is there some way to tell ClickAwayListener to ignore touchend when preceeded by a touchmove ? reactjs touch material-ui share | improve this question ...

Brunei

Image
Coordenadas: 4° 24' N, 114° 34' W Negara Brunei Darussalam (Rumi) نڬارا بروني دارالسلام (Jawi) Estado de Brunei Darussalam Bandeira Brasão de Armas Lema: "الدائمون المحسنون بالهدى" ( "Sempre trabalhando guiados por Alá" ) Hino nacional: الله فليهاراكن سلطن (Allah Peliharakan Sultan - "Alá Abençoe o Sultão" ) Gentílico: bruneano(a), bruneíno(a) [ 1 ] Capital Bandar Seri Begawan 4° 55' N 114° 55' E Cidade mais populosa Bandar Seri Begawan Língua oficial malaio [ 2 ] * Língua reconhecida : inglês, Governo Monarquia absolutista unitária e sultanato islâmico  - Sultão e Primeiro-ministro Hassanal Bolkiah  - Príncipe Herdeiro Al-Muhtadee Billah  - Mufti de Estado Mohd Abdul Bolkiah Formação    - Sultanato século XIV    - Fim do protetorado britânico 1 de Janeiro de 1984  Área    - Total 5 765 km² (163.º)  - Água (%) ...