fgnass / spin.js

A spinning activity indicator
http://spin.js.org
MIT License
9.3k stars 1.02k forks source link

Keeping the spinner in center whilst scrlling up/down #354

Closed amitbhavsarGit closed 6 years ago

amitbhavsarGit commented 6 years ago

I am not reporting an issue rather I wanted to know if it is possible to keep the spinner in the middle of the page whilst scrolling up or down. Currently, its position is static and user loses its view if scrolling is required.

Please reply Thanks and Regards

Amit

theodorejb commented 6 years ago

Yes, you could do this by setting the position option to "fixed", or by placing the spinner inside an element with a fixed position.