I found that snaptoScreen feature does not work on Alloy Project. But it works on the classic Project.
I have downloaded the sample from Github which is a classic Project, this feature work fines, but when I just copy the code from the sample project to my newly created Alloy Project, this featrue does not work.
Steven Lam