fix ssr modal navigator (#1082)
fix ssr modal navigator (#1082)

* fix ssr modal navigator

move navigator variable outside of render

* fix iphone regex

ant-design/ant-design-mobile,ant-design/ant-design-mobile,bccsafe/ant-design-mobile,ant-design/ant-design-mobile,ant-design/ant-design-mobile,bccsafe/ant-design-mobile,bccsafe/ant-design-mobile,bccsafe/ant-design-mobile,bccsafe/ant-design-mobile