Modaal icon indicating copy to clipboard operation
Modaal copied to clipboard

Mobile close compatability

Open bklik opened this issue 8 years ago • 1 comments

A few things that could be improved on for mobile compatibility:

  1. White close button is hidden when you scroll the modal on a small screen.
  2. Back button on Android could/should close modal.

The first could be solved with mediaquery style change.

The second would require some form of location.hash change when the modal is open. That way the back button would remove it, and you could catch that change and close the modal.

bklik avatar May 02 '16 14:05 bklik

Hi @bklik, thanks for the feedback, these sound like good ideas.

cbotman avatar May 03 '16 02:05 cbotman