File tree Expand file tree Collapse file tree 1 file changed +22
-20
lines changed
Expand file tree Collapse file tree 1 file changed +22
-20
lines changed Original file line number Diff line number Diff line change @@ -258,34 +258,36 @@ export const Popup: FunctionComponent<
258258 )
259259 }
260260 }
261- const renderPop = ( ) => {
262- return (
263- < >
264- { innerVisible ? (
265- < View
266- ref = { refObject }
267- style = { popStyles }
268- className = { popClassName }
269- onClick = { onHandleClick }
270- catchMove = { lockScroll }
271- >
272- { renderTitle ( ) }
273- { showChildren ? children : '' }
274- </ View >
275- ) : null }
276- </ >
277- )
278- }
261+ // const renderPop = () => {
262+ // return (
263+ // <>
264+ // {innerVisible ? (
265+ // <View
266+ // ref={refObject}
267+ // style={popStyles}
268+ // className={popClassName}
269+ // onClick={onHandleClick}
270+ // catchMove={lockScroll}
271+ // >
272+ // {renderTitle()}
273+ // {showChildren ? children : ''}
274+ // </View>
275+ // ) : null}
276+ // </>
277+ // )
278+ // }
279279
280- const renderPopByRN = ( ) => {
280+ const renderPop = ( ) => {
281281 return (
282282 < View
283+ ref = { refObject }
283284 style = { {
284285 position : 'absolute' ,
285286 overflow : 'hidden' ,
286287 ...popStyles ,
287288 } }
288289 className = { popClassName }
290+ onClick = { onHandleClick }
289291 >
290292 { renderTitle ( ) }
291293 { showChildren ? children : '' }
@@ -321,7 +323,7 @@ export const Popup: FunctionComponent<
321323 />
322324 </ TouchableOpacity >
323325 ) : null }
324- { renderPopByRN ( ) }
326+ { renderPop ( ) }
325327 </ Modal >
326328 )
327329 }
You can’t perform that action at this time.
0 commit comments