accessible-modal-dialog
accessible-modal-dialog copied to clipboard
Go full screen on smaller screens as a responsive solution
On say a iPhone 4 sized screen the demo modal is not fully usable. It's centred and fixed and some of it is below the viewport.
I've found that the best solution on smaller screens is to go full screen and allow scrolling of the modal as required. Or at a minimum full width and max height 100% and allow scrolling.