Shengwu Cong

Results 15 comments of Shengwu Cong

How about add the `android:importantForContentCapture="yes"` for the clickable view in [picker_view.xml](https://github.com/beefe/react-native-picker/blob/master/android/src/main/res/layout/picker_view.xml), it seems work (report from our tester team), I didn't verify it myself. Edit: OK, the android:importantForContentCapture="yes" doesn't work....

> 在android源码里面找到原因:在这个文件PickerViewModule的onHostPause方法里这样的写的 > > @override > public void onHostPause() { > hide(); > dialog = null; > } > > 注销onHostPause 里面的代码就可以了。 Works well, thanks!

@onsensei You are right, I'm in the same situation, need to find a solution.

试试这个方法,通过`webViewSettings`为内部的webview加上`opacity: 0.99`这个属性,如下: ```javascript ``` 或者针对安卓上的闪退,禁用硬件加速试试: ```javascript ``` 如果第一种方法好使的话,推荐第一种方法。

这个问题我去Hermes官方库的issues里搜了一下,答案是Hermes引擎把formatter函数编译成字节码, 注入webview就运行不起来了。 如果想要启用Hermes的同时(**要求0.8.1及以上版本**),还使用formatter函数,有个临时的解决方案: 在formatter函数第一行添加代码`'show source';` 部分示例: ```javascript xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], axisLabel: { formatter: (value) => { 'show source'; return value +...

There is a optional solution which is mentioned in https://github.com/callstack/react-native-pager-view/issues/196 **Defined Pages:** `Origin: ['Page1', 'Page2', 'Page3'],` `New: ['Page3', 'Page1', 'Page2', 'Page3', 'Page1']` **How it works:** When scroll to `New[4] (Page1)`,...

@AndreyPatseiko You are right, the default RN modal has supported statusBarTranslucent. The issue I met in this library is the onPress event cannot be triggered on the modal on RN...

@NikiLee2016 Hi, I have a solution maybe you can have a look, and it works well on my side. Basically, using PanResponder to intercept touch event, if user touches the...

嗯,我看了一下文档,如果项目启用Kotlin的话,需要使用kapt。我试了一下,加资源没问题。