srdone / first-class

Boy scout troop tracking
MIT License
6 stars 0 forks source link

Md bottom sheet leaves gap at bottom of screen #50

Closed srdone closed 9 years ago

srdone commented 9 years ago

When a bottom sheet is triggered by a button that is below the fold, the bottom of the sheet leaves a gap between the screen bottom and the bottom of the sheet.

srdone commented 9 years ago

Perhaps a similar issue as happens with toasts - see issue #48.

mdBottomSheet has a parent element option that specifies where to append the sheet.

srdone commented 9 years ago

Got rid of most bottom sheets. See issue #56

srdone commented 9 years ago

Possible fix mentioned here: https://github.com/angular/material/issues/1426

srdone commented 9 years ago

Fixed by assigning parent element. See 1ede06dd7838272bf9931a6ba11364b6047d6195