material icon indicating copy to clipboard operation
material copied to clipboard

mdDialog on ios safari has space in bottom after scrolling

Open omida86 opened this issue 11 years ago • 3 comments

$mdDialog.show(
  $mdDialog.alert()
    .title('This is an alert title')
    .content('You can specify some description text in here.')
    .ariaLabel('Alert Dialog Demo')
    .ok('Got it!')
    .targetEvent($event)
);

After scrolling down a bit, the dialog and md-backdrop does not reach all the way down on ios safari. It does however work correctly on Chrome/Android.

omida86 avatar Apr 24 '15 14:04 omida86

I kind of found out when this happens. It's because the bottom bar in safari gets hidden when you scroll down and the $mdDialog doesn't stretch all the way down to the bottom.

omida86 avatar Apr 30 '15 07:04 omida86

I think the ScrollLock needs to listen for window resize events.

ThomasBurleson avatar Sep 04 '15 16:09 ThomasBurleson

This is fixed on master (resolved by scrolling being blocked by $mdUtils).

rschmukler avatar Nov 20 '15 23:11 rschmukler