UWCS / uwcs-dextre

The University of Warwick Computing Society website for the 2020-21 academic year.
https://uwcs.co.uk
MIT License
1 stars 2 forks source link

Navbar dropdown not working on mobile #4

Closed the-Bruce closed 3 years ago

the-Bruce commented 3 years ago

Default Bulma provides no way for mobile devices to trigger :hover effects. This was fixed for most things in https://github.com/UWCS/uwcs-dextre/blob/df57acee7fc79a3517b102c148c077fc31d04877/static/js/core.js but navbar dropdown were missed. This makes accessing profile and logout options hard as the user dropdown doesn't trigger.

Steps to reproduce: open website on touchscreen device that doesn't emulate :hover (e.g. iOS/Android) while logged in. Click username in navbar. Expected behaviour: menu should appear to display logout and profile options. Observed behaviour: nothing happens Tested on: iPad Air (3rd generation) running iOS 14.5

joshdavies14 commented 3 years ago

Thanks for reporting! I've fixed this locally, and once my exam tomorrow is out of the way I'm hoping to deploy the fix this week. :)