2

I have seen a snackbar in getmdl.io.but the snackbar is absolutely positioned at the bottom of the page like thisenter image description here

Snackbar component in getmdl.ioBut how can i place the snackbar inside one div?

kevin
  • 87
  • 1
  • 9
  • I was also searching for the same one – Sriker Ch Nov 21 '16 at 19:50
  • http://mseemann.io/angular2-mdl/snackbar uses getmdl.io styles. the snackbar is positioned fixed so it's always fixed to the browser window. If you want to change this you need to change the style and put the dialog-outlet in the div. the div must be positioned relative and you need to change the animation. In fact the snackbar follows the material design rules. so I would suggest creating your own component and don't use the snackbar for your use case. – michael Nov 21 '16 at 20:09

0 Answers0