0

Thanks again for this very simple solution for making CSS dropdown menus work also on iOS (just add onclick = "void(0)"): CSS drop down menu is not working on iOS devices

But there is another iOS specific problem: When you open the dropdown menu and then want to close it by clicking or tipping somewhere else outside, on Windows and Android, it disappears. But not on iOS.

Does maybe anyone know the solution to this problem?

dark_rider
  • 1
  • 1
  • 2

1 Answers1

0

Now I found a very simple and working solution: Dropdown menu css / js on Ipad

Just add the following JavaScript code to the body:

<script>
document.addEventListener('touchstart', function() {});
</script>
dark_rider
  • 1
  • 1
  • 2