UiKitten doesn't works with jacklam718/react-native-modals
See original GitHub issue💬 Question
When I use ui kitten component inside the modal content of jacklam718/react-native-modals.
I get this error :
Text: unsupported configuration. Using UI Kitten components is only possible with configuring ApplicationProvider. � Documentation: https://akveo.github.io/react-native-ui-kitten/docs/guides/getting-started#manual-installation
Ui kitten works fine on my project, I have already set ApplicationProvider on startup. I have to set <ApplicationProvider> inside the modalContent to avoid this error, but its not great because the modal become very slow.
import Modal, {
ModalTitle,
ModalContent,
} from 'react-native-modals';
import {
Text,
ThemedComponentProps,
withStyles,Select
} from '@ui-kitten/components';
<Modal.BottomModal
visible={isModalVisible}
style={themedStyle}
swipeDirection={['up', 'down']} // can be string or an array
onTouchOutside={() => setModalVisible(false)}
height={0.95}
width={1}
onSwipeOut={() => setModalVisible(false)}
modalTitle={
<ModalTitle
title="Bottom Modal"
style={{height: 20,padding: 0}}
// textStyle={textStyle.subtitle}
align="left"
hasTitleBar
/>
}>
<ModalContent>
<Text>
Bottom Modal with Title
</Text>
</ModalContent>
</Modal.BottomModal>
I’m missing something ?
UI Kitten and Eva version
Package | Version |
---|---|
@eva-design/eva | ^4.3.2 |
@ui-kitten/components | ^4.3.2 |
react-native-modals | ^0.19.9 |
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
UI Kitten - Modal - component overview - GitHub Pages
A wrapper that presents content above an enclosing view. Modals accept content views as child elements and are displayed in the screen center....
Read more >React-Native UI-Kitten Modal triggers "update during an ...
This value is updated when a BLE device is found, which is done by Promises. Is the async nature of the promises triggering...
Read more >Awesome React Native components, news, tools, and ...
A react native modals library. Swipeable. Highly customizable. Support multi modals & Support custom animation. For IOS & Android.
Read more >Dive into React Native UI Kitten - June 2021 - YouTube
RNLmeetupDive into React Native UI KittenArtur YorshWhat it actually is and how it can boost the development process?
Read more >UI Kitten 5: what's new and our plans | Akveo Blog
We've made a quite serious bug hunt, trying to fix bug and work on user improvement request. As a result 20+ issues were...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
already did here
Closing due to https://github.com/jacklam718/react-native-modals/issues/213#issuecomment-593227627