dbtek/angular-aside

iOS: view does not update if element is scrolled

malterb opened this issue · 1 comments

I am running into the following error:

  • I open a modal on an iPhone4 (for example, any iOS device is affected)
  • I display a list with buttons that extends over the end of the screen -> I have to scroll down

Now:

Any element that is initially visible can be clicked and the modal view is updated
Any element that is initially NOT visible can be clicked, the modal view is NOT update (e.g. a button stays selected), but if I console.log the click as well it does happen.

Any idea? It only happens when I use $aside. Using the standard $modal lets me click on scrolled elements. I think it has to do with the overflow, but I havent found a workaround yet

Found the following workaround:

added

.ng-aside .modal-dialog .modal-content {
  overflow: visible;
}

and then set the background-color for the overflowing element the same as modal