Pregunta

So I made a small mockup up to try angular-strap 1.2+ and are having some trouble with the modal directive.

The modal backdrop displays a vertical scrollbar both while the modal is open and during the fade and scale animations opening and closing the modal. Ie a vertical scrollbar is shown and scaled to the size of the viewscreen and then shrinks down on exit.

Can't seem to find why this is or how I can prevent it.

EDIT: made a plunker

http://plnkr.co/edit/9703j1ZeZsCH2enm6apa?p=preview

¿Fue útil?

Solución

Hide the overflow of the background container:

CSS:

.modal {
    overflow: hidden;
}

Updated Plunker

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top