Commit 6f0008b6 authored by zooble's avatar zooble Committed by GitHub

Merge branch 'master' into master

parents 1fa64518 eaa8589f
......@@ -353,7 +353,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life
if (MIUIUtils.isMIUI()) {
layoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION;
}else {
layoutParams.type = WindowManager.LayoutParams.TYPE_TOAST;
//layoutParams.type = WindowManager.LayoutParams.TYPE_TOAST;
}
layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
layoutParams.format = PixelFormat.TRANSPARENT;
......
......@@ -83,13 +83,6 @@ RCT_EXPORT_METHOD(_init:(NSDictionary *)indic){
dispatch_async(dispatch_get_main_queue(), ^{
[self.window addSubview:_pick];
[UIView animateWithDuration:.3 animations:^{
[_pick setFrame:CGRectMake(0, SCREEN_HEIGHT-self.height, SCREEN_WIDTH, self.height)];
}];
});
}
......
{
"name": "react-native-picker",
"version": "4.2.0",
"version": "4.3.0",
"description": "A Native Picker with high performance.",
"main": "index.js",
"types": "index.d.ts",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment