[bugfix] modify navigator.snap