Ant-design-mobile: modal can not mask the StatusBar in android platform

Created on 20 Mar 2018  ·  2Comments  ·  Source: ant-design/ant-design-mobile


screenshot_1521536575

As picture shown, when i use modal.alert and modal.prompt to show a dialog, the StatusBar has not been masked. i want to modal masked the StatusBar. while this problem not appear to iOS platform.

run environment:

platform: android 5.1.1
react-native: 0.51.0
antd-mobile: 2.1.1

question react native

All 2 comments

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: https://github.com/ant-design/ant-design/issues/4897

Please check this https://github.com/facebook/react-native/issues/7474#issuecomment-288814366 should fix your problem.

Was this page helpful?
0 / 5 - 0 ratings